Giter VIP home page Giter VIP logo

docker-atlantis-terragrunt's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.