Add terraform scripts to build nginx image (#4484)
This commit is contained in:
parent
ce3e3d51c3
commit
9eedc1be56
9 changed files with 448 additions and 3 deletions
19
build/images/nginx/Dockerfile
Normal file
19
build/images/nginx/Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue