From 104cf8b077c47bb6575617e23d01c7a049ff79cc Mon Sep 17 00:00:00 2001 From: nitrocode <7775707+nitrocode@users.noreply.github.com> Date: Mon, 19 Jun 2023 16:28:23 -0500 Subject: [PATCH] chore(Dockerfile): re-add terraform 1.4 (#3521) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 63f064248..3464e8225 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ;; \