Skip to content

Commit

Permalink
Merge pull request #28 from stakater-docker/add-aws-iam-authenticator
Browse files Browse the repository at this point in the history
add aws-iam-auth
  • Loading branch information
kahootali authored Apr 20, 2020
2 parents df4775e + f1f6d97 commit 9910b32
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ RUN yum remove -y git && \
mv git /usr/bin/ && \
rm -rf /usr/src

ARG IAM_AUTHENTICATOR_VERSION=0.5.0
RUN curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v${IAM_AUTHENTICATOR_VERSION}/aws-iam-authenticator_${IAM_AUTHENTICATOR_VERSION}_linux_amd64 && \
chmod +x ./aws-iam-authenticator && \
mkdir -p $HOME/bin && cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator && export PATH=$HOME/bin:$PATH && \
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc

ADD bootstrap.sh /
ADD binaries/* /usr/local/bin/
ENTRYPOINT ["/bootstrap.sh"]

0 comments on commit 9910b32

Please sign in to comment.