Skip to content

Instantly share code, notes, and snippets.

@disksing
Last active July 7, 2020 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save disksing/a399a5d19bb35b2c2d2fe2d184830050 to your computer and use it in GitHub Desktop.
Save disksing/a399a5d19bb35b2c2d2fe2d184830050 to your computer and use it in GitHub Desktop.
eks poc docker file
FROM ubuntu
RUN apt-get update && \
apt-get install -y curl zip jq git && \
mkdir /tmp/install && cd /tmp/install && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
curl "https://releases.hashicorp.com/terraform/0.12.28/terraform_0.12.28_linux_amd64.zip" -o "terraform_0.12.28_linux_amd64.zip" && \
unzip terraform_0.12.28_linux_amd64.zip && \
mv terraform /usr/local/bin/ && \
curl https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl -o kubectl && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin/ && \
curl "https://get.helm.sh/helm-v2.16.3-linux-amd64.tar.gz" -o "helm-v2.16.3-linux-amd64.tar.gz" && \
tar -zxf helm-v2.16.3-linux-amd64.tar.gz && \
mv linux-amd64/helm /usr/local/bin/ && \
mv linux-amd64/tiller /usr/local/bin/ && \
curl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16/bin/linux/amd64/aws-iam-authenticator -o aws-iam-authenticator && \
chmod +x ./aws-iam-authenticator && \
mv aws-iam-authenticator /usr/local/bin/ && \
rm -rf /tmp/install && \
rm -rf /var/lib/apt/lists/*
CMD bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment