Terraform release (#4613)

* Add script to build the ingress controller image using terraform

* Update terraform to 0.12.9
This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-09-30 18:33:46 -03:00 committed by GitHub
parent 2de5a893aa
commit 7aca7bcc04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 476 additions and 1 deletions

View file

@ -0,0 +1,19 @@
FROM quay.io/kubernetes-ingress-controller/debian-base-amd64:0.1
ENV TERRAFORM_VERSION 0.12.9
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" ]