Skip to content

dataplex/docker-atlantis-terragrunt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlantis Docker image with Terragrunt

Build Status Dockerhub

About

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

Building

For building you can overwrite your desired versions with the following three Makefile variables:

  • ATLANTIS
  • TERRAFORM
  • TERRAGRUNT
make build
make build TERRAFORM=0.12.31
make build TERRAFORM=0.12.31 TERRAGRUNT=0.25.5
make build TERRAFORM=0.12.31 TERRAGRUNT=0.25.5 ATLANTIS=0.16.1

Available images

Docker hub

Immutable images

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

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>

Private SSH Key

This Docker entrypoint will look for env var GITHUB_USER_KEY, in case it exists, it will do the following to set a private key on the atlantis docker task.

echo "${GITHUB_USER_SSH_KEY}" | base64 -d | gunzip > "${HOME}/.ssh/id_rsa"

License

MIT

Copyright (c) 2019 Flaconi GmbH

About

Docker Atlantis + Terragrunt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 51.2%
  • Makefile 30.8%
  • Shell 18.0%