Skip to content

Commit

Permalink
Add in Dockerfile support for last Terraform 1.0.x version in AVAILAB…
Browse files Browse the repository at this point in the history
…LE_TERRAFORM_VERSIONS (runatlantis#1957)
  • Loading branch information
javierbeaumont authored and krrrr38 committed Dec 16, 2022
1 parent 11b0407 commit 0513c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM ghcr.io/runatlantis/atlantis-base:2021.12.15 AS base
ENV DEFAULT_TERRAFORM_VERSION=1.1.2

# In the official Atlantis image we only have the latest of each Terraform version.
RUN AVAILABLE_TERRAFORM_VERSIONS="0.8.8 0.9.11 0.10.8 0.11.15 0.12.31 0.13.7 0.14.11 0.15.5 ${DEFAULT_TERRAFORM_VERSION}" && \
RUN AVAILABLE_TERRAFORM_VERSIONS="0.8.8 0.9.11 0.10.8 0.11.15 0.12.31 0.13.7 0.14.11 0.15.5 1.0.11 ${DEFAULT_TERRAFORM_VERSION}" && \
for VERSION in ${AVAILABLE_TERRAFORM_VERSIONS}; do \
curl -LOs https://releases.hashicorp.com/terraform/${VERSION}/terraform_${VERSION}_linux_amd64.zip && \
curl -LOs https://releases.hashicorp.com/terraform/${VERSION}/terraform_${VERSION}_SHA256SUMS && \
Expand Down

0 comments on commit 0513c42

Please sign in to comment.