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/*