IaC tools: terraform, terragrunt and ansible in one bundle
1.4K
A Docker image containing essential Infrastructure as Code (IAC) tools for automating infrastructure management and deployment.
This Docker image is based on Ubuntu 24.04 and includes popular IAC tools commonly used in DevOps workflows:
| Tool | Version | Description |
|---|---|---|
| Terraform | 1.11.4 | Infrastructure as Code tool for building, changing, and versioning infrastructure |
| Terragrunt | v0.77.22 | Thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules |
| Ansible | Latest | Automation platform for configuration management, application deployment, and task automation |
| vault | Latest | Hashicorp vault client for managing vault resources |
# From Docker Hub (after CI/CD setup)
docker pull <your-dockerhub-username>/iac-tools:latest
# Or build locally
docker build -t iac-tools:latest .
# Interactive shell
docker run -it --rm iac-tools:latest /bin/bash
# Mount your workspace
docker run -it --rm -v $(pwd):/workspace -w /workspace iac-tools:latest /bin/bash
# Run specific commands
docker run --rm -v $(pwd):/workspace -w /workspace iac-tools:latest terraform --version
docker run --rm -v $(pwd):/workspace -w /workspace iac-tools:latest terragrunt --version
docker run --rm -v $(pwd):/workspace -w /workspace iac-tools:latest ansible --version
You can also use this image with Docker Compose:
version: "3.8"
services:
iac-tools:
image: iac-tools:latest
volumes:
- .:/workspace
working_dir: /workspace
stdin_open: true
tty: true
To build the image locally:
docker build -t iac-tools:latest .
This repository includes a GitHub Actions workflow that automatically:
See GITHUB_ACTIONS_SETUP.md for detailed setup instructions.
DEBIAN_FRONTEND=noninteractive - Prevents interactive prompts during package installationTERRAGRUNT_VERSION=v0.77.22 - Specifies the Terragrunt version to installTF_VERSION=1.11.4 - Specifies the Terraform version to installARCH=amd64 - Target architectureOS=linux - Target operating systemPATH - Includes /root/.local/bin for pipx-installed toolsThis image is ideal for:
See the LICENSE file for license information.
Feel free to submit issues and enhancement requests!
Content type
Image
Digest
sha256:0bbea61a4…
Size
543.4 MB
Last updated
8 days ago
docker pull devkrolikowski/iac-tools