Skip to content

Commit

Permalink
feat(docker): add terraform 1.7 (#4203)
Browse files Browse the repository at this point in the history
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
  • Loading branch information
nitrocode and jamengual authored Feb 3, 2024
1 parent 9fa4cd3 commit 12dcf30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ARG ALPINE_TAG=3.19.1
ARG DEBIAN_TAG=12.4-slim

ARG DEFAULT_TERRAFORM_VERSION=1.6.3
ARG DEFAULT_TERRAFORM_VERSION=1.7.2
ARG DEFAULT_CONFTEST_VERSION=0.46.0

# Stage 1: build artifact and download deps
Expand Down Expand Up @@ -110,7 +110,7 @@ ENV DEFAULT_TERRAFORM_VERSION=${DEFAULT_TERRAFORM_VERSION}

# In the official Atlantis image, we only have the latest of each 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.3.10 1.4.6 1.5.7 ${DEFAULT_TERRAFORM_VERSION}" && \
RUN AVAILABLE_TERRAFORM_VERSIONS="1.4.6 1.5.7 1.6.3 ${DEFAULT_TERRAFORM_VERSION}" && \
case "${TARGETPLATFORM}" in \
"linux/amd64") TERRAFORM_ARCH=amd64 ;; \
"linux/arm64") TERRAFORM_ARCH=arm64 ;; \
Expand Down

0 comments on commit 12dcf30

Please sign in to comment.