chore(Dockerfile): re-add terraform 1.4 (#3521)

This commit is contained in:
nitrocode
2023-06-19 16:28:23 -05:00
committed by GitHub
parent 3b4545fe05
commit 104cf8b077

View File

@@ -126,7 +126,8 @@ RUN case ${TARGETPLATFORM} in \
ENV DEFAULT_TERRAFORM_VERSION=1.5.0
# In the official Atlantis image, we only have the latest of each Terraform version.
RUN AVAILABLE_TERRAFORM_VERSIONS="1.1.9 1.2.9 1.3.9 ${DEFAULT_TERRAFORM_VERSION}" && \
# Each binary is about 80 MB so we limit it to the 4 latest minor releases or fewer
RUN AVAILABLE_TERRAFORM_VERSIONS="1.2.9 1.3.9 1.4.6 ${DEFAULT_TERRAFORM_VERSION}" && \
case "${TARGETPLATFORM}" in \
"linux/amd64") TERRAFORM_ARCH=amd64 ;; \
"linux/arm64") TERRAFORM_ARCH=arm64 ;; \