This Docker image is pulling the atlantis image from runatlantis/atlantis, and additionaly installs Terraform and Terragrunt for further use. The Dockerfile was adapted from https://github.com/chenrui333/atlantis-terragrunt
For building you can overwrite your desired versions with the following three Makefile variables:
ATLANTIS
TERRAFORM
TERRAGRUNT
TERRAGRUNT_ATLANTIS_CONFIG
SOPS
ONE_PASSWORD_CLI
e.g.
make build
make build TERRAFORM=1.10.0
make build TERRAFORM=1.10.0 TERRAGRUNT=0.63.8
make build TERRAFORM=1.10.0 TERRAGRUNT=0.63.8 ATLANTIS=0.31.0
make build TERRAFORM=1.10.0 TERRAGRUNT=0.63.8 ATLANTIS=0.31.0 SOPS=3.8.1
Immutable images are created when this git repository is tagged. The Docker image tags are in the following format:
flaconi/atlantis-terragrunt:<ATLANTIS_VERSION>-<TERRAFORM_VERSION>-<TERRAGRUNT_VERSION>-<GIT_TAG>
Mutable images are created on release-*
branches and master merge
# On release-* branch
flaconi/atlantis-terragrunt:<ATLANTIS_VERSION>-<TERRAFORM_VERSION>-<TERRAGRUNT_VERSION>-release-<SUFFIX>
# On master
flaconi/atlantis-terragrunt:<ATLANTIS_VERSION>-<TERRAFORM_VERSION>-<TERRAGRUNT_VERSION>
Copyright (c) 2024 Flaconi GmbH