20 lines
487 B
Docker
20 lines
487 B
Docker
FROM us.gcr.io/k8s-artifacts-prod/build-image/debian-base-amd64:v2.1.0
|
|
|
|
ENV TERRAFORM_VERSION 0.12.26
|
|
|
|
RUN clean-install \
|
|
bash \
|
|
curl \
|
|
ca-certificates \
|
|
unzip \
|
|
git \
|
|
python3 \
|
|
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" ]
|