Skip to content

Commit

Permalink
feat(aws): upgrade awscli (#3907) (#3997)
Browse files Browse the repository at this point in the history
  • Loading branch information
spinnakerbot authored and robzienert committed Sep 6, 2019
1 parent 6dce6e1 commit 6baca90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s
chmod +x kubectl && \
mv ./kubectl /usr/local/bin/kubectl

RUN curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.11.5/2018-12-06/bin/linux/amd64/aws-iam-authenticator && \
RUN curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator && \
chmod +x ./aws-iam-authenticator && \
mv ./aws-iam-authenticator /usr/local/bin/aws-iam-authenticator && \
ln -sf /usr/local/bin/aws-iam-authenticator /usr/local/bin/heptio-authenticator-aws

RUN wget -O /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
python /tmp/get-pip.py && \
pip install awscli --upgrade
pip install awscli==1.16.208 --upgrade

ENV PATH "$PATH:/usr/local/bin/"

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ RUN wget https://storage.googleapis.com/kubernetes-release/release/stable.txt &&
chmod +x kubectl && \
mv ./kubectl /usr/local/bin/kubectl

RUN wget https://amazon-eks.s3-us-west-2.amazonaws.com/1.11.5/2018-12-06/bin/linux/amd64/aws-iam-authenticator && \
RUN wget https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator && \
chmod +x ./aws-iam-authenticator && \
mv ./aws-iam-authenticator /usr/local/bin/aws-iam-authenticator && \
ln -sf /usr/local/bin/aws-iam-authenticator /usr/local/bin/heptio-authenticator-aws

RUN apk -v --update add py-pip && \
pip install --upgrade awscli==1.16.145 s3cmd==2.0.1 python-magic && \
pip install --upgrade awscli==1.16.208 s3cmd==2.0.1 python-magic && \
apk -v --purge del py-pip && \
rm /var/cache/apk/*

Expand Down

0 comments on commit 6baca90

Please sign in to comment.