-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (36 loc) · 1.36 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM hashicorp/terraform:0.11.10
RUN apk add --no-cache \
bash \
ruby \
ruby-json \
ruby-dev \
curl \
ca-certificates \
openssl \
gettext \
apache2-utils \
python \
py-pip \
py-setuptools \
jq \
&& \
pip --no-cache-dir install \
awscli \
&& \
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 +x ./kubectl && \
mv ./kubectl /usr/local/bin/kubectl && \
curl -LO https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-07-26/bin/linux/amd64/aws-iam-authenticator && \
chmod +x aws-iam-authenticator && \
mv aws-iam-authenticator /usr/local/bin/aws-iam-authenticator && \
gem install terraform_landscape --no-rdoc --no-ri && \
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > /tmp/get_helm.sh && \
chmod +x /tmp/get_helm.sh && \
/tmp/get_helm.sh && \
curl -LO kops https://github.com/kubernetes/kops/releases/download/1.11.0/kops-linux-amd64 > /tmp/kops && \
chmod +x /tmp/kops && \
mv /tmp/kops /usr/local/bin/kops && \
rm -fr /tmp/*
# we want to be able to run non-terraform commands so we remove the entrypoint
ENTRYPOINT [""]
CMD ["bash"]