Files
terraform-image/Dockerfile
Fyodor Doletov fb63da0e5a
All checks were successful
Build docker image / Build docker image (push) Successful in 18s
init
2025-11-11 02:46:14 +03:00

16 lines
602 B
Docker

FROM git.romalex.cc/public/ci-image:v1
ENV TERRAFORM_VERSION=1.12.2
ENV TFLINT_VERSION=v0.58.1
RUN \
cd /tmp && \
wget "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" && \
unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/local/bin && \
chmod +x /usr/local/bin/terraform && \
wget "https://github.com/terraform-linters/tflint/releases/download/${TFLINT_VERSION}/tflint_linux_amd64.zip" && \
unzip tflint_linux_amd64.zip -d /usr/local/bin && \
chmod +x /usr/local/bin/tflint && \
rm -rf /tmp/*