Sign inSign up

cytopia/terragrunt

By cytopia

•Updated 5 months ago

Alpine-based multistage-build version of Terragrunt and Terraform for reproducible usage in CI

Image
5

500K+

cytopia/terragrunt repository overview

⁠Docker image for terragrunt

Tag License

lint build nightly

View Dockerfiles⁠ on GitHub.

Available Architectures: amd64, i386, arm64

Tiny Alpine-based multistage-build dockerized version of Terragrunt⁠[1] and its compatible version of Terraform⁠[2].

⁠:whale: Available Docker image versions

Docker

⁠Rolling releaess

The following Docker image tags are rolling releases and are built and updated every night.

nightly

Docker TagGit RefTerraformTerragruntAvailable Architectures
latestmasterlatestlatestamd64, i386, arm64
1.3-0.40master1.3.x0.40.xamd64, i386, arm64
1.3-0.39master1.3.x0.39.xamd64, i386, arm64
1.2-0.39master1.2.x0.39.xamd64, i386, arm64
1.2-0.38master1.2.x0.38.xamd64, i386, arm64
1.2-0.37master1.2.x0.37.xamd64, i386, arm64
1.1-0.38master1.1.x0.38.xamd64, i386, arm64
1.1-0.37master1.1.x0.37.xamd64, i386, arm64
1.1-0.36master1.1.x0.36.xamd64, i386, arm64
1.1-0.35master1.1.x0.35.xamd64, i386, arm64
1.0-0.38master1.0.x0.38.xamd64, i386, arm64
1.0-0.37master1.0.x0.37.xamd64, i386, arm64
1.0-0.36master1.0.x0.36.xamd64, i386, arm64
1.0-0.35master1.0.x0.35.xamd64, i386, arm64
1.0-0.34master1.0.x0.34.xamd64, i386, arm64
1.0-0.33master1.0.x0.33.xamd64, i386, arm64
1.0-0.32master1.0.x0.32.xamd64, i386, arm64
1.0-0.31master1.0.x0.31.xamd64, i386, arm64
0.15-0.34master0.15.x0.34.xamd64, i386, arm64
0.15-0.33master0.15.x0.33.xamd64, i386, arm64
0.15-0.32master0.15.x0.32.xamd64, i386, arm64
0.15-0.31master0.15.x0.31.xamd64, i386, arm64
0.15-0.30master0.15.x0.30.xamd64, i386, arm64
0.15-0.29master0.15.x0.29.xamd64, i386, arm64
0.14-0.34master0.14.x0.34.xamd64, i386, arm64
0.14-0.33master0.14.x0.33.xamd64, i386, arm64
0.14-0.32master0.14.x0.32.xamd64, i386, arm64
0.14-0.31master0.14.x0.31.xamd64, i386, arm64
0.14-0.30master0.14.x0.30.xamd64, i386, arm64
0.14-0.29master0.14.x0.29.xamd64, i386, arm64
0.14-0.28master0.14.x0.28.xamd64, i386, arm64
0.14-0.27master0.14.x0.27.xamd64, i386
0.13-0.34master0.13.x0.34.xamd64, i386, arm64
0.13-0.33master0.13.x0.33.xamd64, i386, arm64
0.13-0.32master0.13.x0.32.xamd64, i386, arm64
0.13-0.31master0.13.x0.31.xamd64, i386, arm64
0.13-0.30master0.13.x0.30.xamd64, i386, arm64
0.13-0.29master0.13.x0.29.xamd64, i386, arm64
0.13-0.28master0.13.x0.28.xamd64, i386, arm64
0.13-0.27master0.13.x0.27.xamd64, i386
0.13-0.26master0.13.x0.26.xamd64, i386
0.13-0.25master0.13.x0.25.xamd64, i386
0.12-0.24master0.12.x0.24.xamd64, i386
0.12-0.23master0.12.x0.23.xamd64, i386
0.12-0.22master0.12.x0.22.xamd64, i386
0.12-0.21master0.12.x0.21.xamd64, i386
0.12-0.20master0.12.x0.20.xamd64, i386
0.12-0.19master0.12.x0.19.xamd64, i386
0.11-0.18master0.11.x0.18.xamd64, i386

⁠:open_file_folder: Docker mounts

The working directory inside the Docker container is /data/ and should be mounted to your local filesystem where your Terragrant project resides. (See Examples⁠ for mount location usage.)

⁠:computer: Usage

docker run --rm -v $(pwd):/data cytopia/terragrunt terragrunt <ARGS>
docker run --rm -v $(pwd):/data cytopia/terragrunt terraform <ARGS>

⁠:capital_abcd: Environment variables

The following environment variables will ease your life when mounting directories into the docker container by maintaining file system permissions.

VariablesDefaultDescription
RUN_NON_ROOT0Set to 1 to run commands as user instead of root.
UID1000Set to the uid of your local user (id -u) if you want to run as non root.
GID1000Set to the gid of your local user (id -g) if you want to run as non root.
⁠Docker images

Save yourself from installing lot's of dependencies and pick a dockerized version of your favourite linter below for reproducible local or remote CI tests:

GitHubDockerHubTypeDescription
awesome-ci⁠aci-hub-imgBasicTools for git, file and static source code analysis
file-lint⁠flint-hub-imgBasicBaisc source code analysis
linkcheck⁠linkcheck-hub-imgBasicSearch for URLs in files and validate their HTTP status code
ansible⁠ansible-hub-imgAnsibleMultiple versions and flavours of Ansible
ansible-lint⁠alint-hub-imgAnsibleLint Ansible
gofmt⁠gfmt-hub-imgGoFormat Go source code [1]
goimports⁠gimp-hub-imgGoFormat Go source code [1]
golint⁠glint-hub-imgGoLint Go code
eslint⁠elint-hub-imgJavascriptLint Javascript code
jsonlint⁠jlint-hub-imgJSONLint JSON files [1]
kubeval⁠kubeval-hub-imgK8sLint Kubernetes files
checkmake⁠cm-hub-imgMakeLint Makefiles
phpcbf⁠pcbf-hub-imgPHPPHP Code Beautifier and Fixer
phpcs⁠pcs-hub-imgPHPPHP Code Sniffer
phplint⁠plint-hub-imgPHPPHP Code Linter [1]
php-cs-fixer⁠pcsf-hub-imgPHPPHP Coding Standards Fixer
bandit⁠bandit-hub-imgPythonA security linter from PyCQA
black⁠black-hub-imgPythonThe uncompromising Python code formatter
mypy⁠mypy-hub-imgPythonStatic source code analysis
pycodestyle⁠pycs-hub-imgPythonPython style guide checker
pydocstyle⁠pyds-hub-imgPythonPython docstyle checker
pylint⁠pylint-hub-imgPythonPython source code, bug and quality checker
terraform-docs⁠tfdocs-hub-imgTerraformTerraform doc generator (TF 0.12 ready) [1]
terragrunt⁠tg-hub-imgTerraformTerragrunt and Terraform
terragrunt-fmt⁠tgfmt-hub-imgTerraformterraform fmt for Terragrunt files [1]
yamlfmt⁠yfmt-hub-imgYamlFormat Yaml files [1]
yamllint⁠ylint-hub-imgYamlLint Yaml files

[1] Uses a shell wrapper to add enhanced functionality not available by original project.

⁠Makefiles

Visit cytopia/makefiles⁠ for dependency-less, seamless project integration and minimum required best-practice code linting for CI. The provided Makefiles will only require GNU Make and Docker itself removing the need to install anything else.

⁠:page_facing_up: License

MIT License⁠

Copyright (c) 2019 cytopia⁠

Tag summary

Content type

Image

Digest

sha256:57bc4d3d5…

Size

49.5 MB

Last updated

5 months ago

docker pull cytopia/terragrunt:0.12-0.19