Skip to content

Commit

Permalink
Include aws-iam-authenticator in AWS container
Browse files Browse the repository at this point in the history
When running the Garden CLI on some clusters on AWS, the `aws-iam-authenticator` executable is required to look up credentials for ECR
  • Loading branch information
noizwaves authored and edvald committed Mar 26, 2020
1 parent 3aee56b commit 3b28a3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions garden-service/aws.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ FROM gardendev/garden:${TAG}
RUN apk add --no-cache python py-pip \
&& pip install awscli==1.17.9 --upgrade \
&& apk del py-pip

RUN curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.15.10/2020-02-22/bin/linux/amd64/aws-iam-authenticator \
&& chmod +x ./aws-iam-authenticator \
&& mv ./aws-iam-authenticator /usr/bin/

0 comments on commit 3b28a3f

Please sign in to comment.