Skip to content

Commit

Permalink
Image builds the latest aws cli and kubectl versiona
Browse files Browse the repository at this point in the history
  • Loading branch information
mbradleySoftrams committed Jan 24, 2024
1 parent c76114a commit 29f64f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ FROM amazon/aws-cli:latest

RUN yum install -y jq && \
yum clean all && \
rm -rf /var/cache/yum
rm -rf /var/cache/yum && \
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
chmod u+x kubectl && mv kubectl /bin/kubectl

0 comments on commit 29f64f6

Please sign in to comment.