Add terraform scripts to build nginx image (#4484)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-09 01:18:30 -03:00 committed by GitHub
parent ce3e3d51c3
commit 9eedc1be56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 448 additions and 3 deletions

View file

@ -0,0 +1,19 @@
FROM quay.io/kubernetes-ingress-controller/debian-base-amd64:0.1
ENV TERRAFORM_VERSION 0.12.6
RUN clean-install \
bash \
curl \
ca-certificates \
unzip \
git \
openssh-client
RUN curl -sSL -o /terraform.zip "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" \
&& unzip /terraform.zip -d /usr/bin \
&& rm -rf /terraform.zip
COPY entrypoint.sh /
CMD [ "/entrypoint.sh" ]