Alpine-based multistage-build version of Terragrunt and Terraform for reproducible usage in CI
500K+
terragruntAll #awesome-ci Docker images
ansible-lint • ansible • awesome-ci • bandit • black • checkmake • eslint • file-lint • gofmt • goimports • golint • jsonlint • kubeval • linkcheck • mypy • php-cs-fixer • phpcbf • phpcs • phplint • pycodestyle • pydocstyle • pylint • terraform-docs • terragrunt-fmt • terragrunt • yamlfmt • yamllint
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].
The following Docker image tags are rolling releases and are built and updated every night.
| Docker Tag | Git Ref | Terraform | Terragrunt | Available Architectures |
|---|---|---|---|---|
latest | master | latest | latest | amd64, i386, arm64 |
1.3-0.40 | master | 1.3.x | 0.40.x | amd64, i386, arm64 |
1.3-0.39 | master | 1.3.x | 0.39.x | amd64, i386, arm64 |
1.2-0.39 | master | 1.2.x | 0.39.x | amd64, i386, arm64 |
1.2-0.38 | master | 1.2.x | 0.38.x | amd64, i386, arm64 |
1.2-0.37 | master | 1.2.x | 0.37.x | amd64, i386, arm64 |
1.1-0.38 | master | 1.1.x | 0.38.x | amd64, i386, arm64 |
1.1-0.37 | master | 1.1.x | 0.37.x | amd64, i386, arm64 |
1.1-0.36 | master | 1.1.x | 0.36.x | amd64, i386, arm64 |
1.1-0.35 | master | 1.1.x | 0.35.x | amd64, i386, arm64 |
1.0-0.38 | master | 1.0.x | 0.38.x | amd64, i386, arm64 |
1.0-0.37 | master | 1.0.x | 0.37.x | amd64, i386, arm64 |
1.0-0.36 | master | 1.0.x | 0.36.x | amd64, i386, arm64 |
1.0-0.35 | master | 1.0.x | 0.35.x | amd64, i386, arm64 |
1.0-0.34 | master | 1.0.x | 0.34.x | amd64, i386, arm64 |
1.0-0.33 | master | 1.0.x | 0.33.x | amd64, i386, arm64 |
1.0-0.32 | master | 1.0.x | 0.32.x | amd64, i386, arm64 |
1.0-0.31 | master | 1.0.x | 0.31.x | amd64, i386, arm64 |
0.15-0.34 | master | 0.15.x | 0.34.x | amd64, i386, arm64 |
0.15-0.33 | master | 0.15.x | 0.33.x | amd64, i386, arm64 |
0.15-0.32 | master | 0.15.x | 0.32.x | amd64, i386, arm64 |
0.15-0.31 | master | 0.15.x | 0.31.x | amd64, i386, arm64 |
0.15-0.30 | master | 0.15.x | 0.30.x | amd64, i386, arm64 |
0.15-0.29 | master | 0.15.x | 0.29.x | amd64, i386, arm64 |
0.14-0.34 | master | 0.14.x | 0.34.x | amd64, i386, arm64 |
0.14-0.33 | master | 0.14.x | 0.33.x | amd64, i386, arm64 |
0.14-0.32 | master | 0.14.x | 0.32.x | amd64, i386, arm64 |
0.14-0.31 | master | 0.14.x | 0.31.x | amd64, i386, arm64 |
0.14-0.30 | master | 0.14.x | 0.30.x | amd64, i386, arm64 |
0.14-0.29 | master | 0.14.x | 0.29.x | amd64, i386, arm64 |
0.14-0.28 | master | 0.14.x | 0.28.x | amd64, i386, arm64 |
0.14-0.27 | master | 0.14.x | 0.27.x | amd64, i386 |
0.13-0.34 | master | 0.13.x | 0.34.x | amd64, i386, arm64 |
0.13-0.33 | master | 0.13.x | 0.33.x | amd64, i386, arm64 |
0.13-0.32 | master | 0.13.x | 0.32.x | amd64, i386, arm64 |
0.13-0.31 | master | 0.13.x | 0.31.x | amd64, i386, arm64 |
0.13-0.30 | master | 0.13.x | 0.30.x | amd64, i386, arm64 |
0.13-0.29 | master | 0.13.x | 0.29.x | amd64, i386, arm64 |
0.13-0.28 | master | 0.13.x | 0.28.x | amd64, i386, arm64 |
0.13-0.27 | master | 0.13.x | 0.27.x | amd64, i386 |
0.13-0.26 | master | 0.13.x | 0.26.x | amd64, i386 |
0.13-0.25 | master | 0.13.x | 0.25.x | amd64, i386 |
0.12-0.24 | master | 0.12.x | 0.24.x | amd64, i386 |
0.12-0.23 | master | 0.12.x | 0.23.x | amd64, i386 |
0.12-0.22 | master | 0.12.x | 0.22.x | amd64, i386 |
0.12-0.21 | master | 0.12.x | 0.21.x | amd64, i386 |
0.12-0.20 | master | 0.12.x | 0.20.x | amd64, i386 |
0.12-0.19 | master | 0.12.x | 0.19.x | amd64, i386 |
0.11-0.18 | master | 0.11.x | 0.18.x | amd64, i386 |
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.)
docker run --rm -v $(pwd):/data cytopia/terragrunt terragrunt <ARGS>
docker run --rm -v $(pwd):/data cytopia/terragrunt terraform <ARGS>
The following environment variables will ease your life when mounting directories into the docker container by maintaining file system permissions.
| Variables | Default | Description |
|---|---|---|
RUN_NON_ROOT | 0 | Set to 1 to run commands as user instead of root. |
UID | 1000 | Set to the uid of your local user (id -u) if you want to run as non root. |
GID | 1000 | Set to the gid of your local user (id -g) if you want to run as non root. |
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:
| GitHub | DockerHub | Type | Description |
|---|---|---|---|
| awesome-ci | Basic | Tools for git, file and static source code analysis | |
| file-lint | Basic | Baisc source code analysis | |
| linkcheck | Basic | Search for URLs in files and validate their HTTP status code | |
| ansible | Ansible | Multiple versions and flavours of Ansible | |
| ansible-lint | Ansible | Lint Ansible | |
| gofmt | Go | Format Go source code [1] | |
| goimports | Go | Format Go source code [1] | |
| golint | Go | Lint Go code | |
| eslint | Javascript | Lint Javascript code | |
| jsonlint | JSON | Lint JSON files [1] | |
| kubeval | K8s | Lint Kubernetes files | |
| checkmake | Make | Lint Makefiles | |
| phpcbf | PHP | PHP Code Beautifier and Fixer | |
| phpcs | PHP | PHP Code Sniffer | |
| phplint | PHP | PHP Code Linter [1] | |
| php-cs-fixer | PHP | PHP Coding Standards Fixer | |
| bandit | Python | A security linter from PyCQA | |
| black | Python | The uncompromising Python code formatter | |
| mypy | Python | Static source code analysis | |
| pycodestyle | Python | Python style guide checker | |
| pydocstyle | Python | Python docstyle checker | |
| pylint | Python | Python source code, bug and quality checker | |
| terraform-docs | Terraform | Terraform doc generator (TF 0.12 ready) [1] | |
| terragrunt | Terraform | Terragrunt and Terraform | |
| terragrunt-fmt | Terraform | terraform fmt for Terragrunt files [1] | |
| yamlfmt | Yaml | Format Yaml files [1] | |
| yamllint | Yaml | Lint Yaml files |
[1] Uses a shell wrapper to add enhanced functionality not available by original project.
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.
Copyright (c) 2019 cytopia
Content type
Image
Digest
sha256:57bc4d3d5…
Size
49.5 MB
Last updated
4 months ago
docker pull cytopia/terragrunt:0.12-0.19