Alpine-based image with Terraform, tfsec security scanner, and Google Cloud SDK for infrastructure automation and multi-cloud deployments.
docker pull energonhq/terraform:latest
docker run --rm -v $(pwd):/work -w /work energonhq/terraform:latest terraform init
docker run --rm -v $(pwd):/work -w /work energonhq/terraform:latest tfsec .
latest - Most recent stable build1.0.7, 1.0, 1 - Semantic version tags| Key | Value |
|---|---|
| Base Image | alpine:3.19.1 |
| Arch | amd64, arm64 |
| Size | ~400 MB |
| Workdir | /work |
| User | root |
| Variable | Description | Default |
|---|---|---|
AWS_ACCESS_KEY_ID | AWS access key | - |
AWS_SECRET_ACCESS_KEY | AWS secret key | - |
AWS_DEFAULT_REGION | AWS region | - |
GOOGLE_APPLICATION_CREDENTIALS | Path to GCP service account key | - |
TF_IN_AUTOMATION | Set to any value for CI/CD mode | - |
| Path | Purpose |
|---|---|
/work | Mount Terraform code here |
/root/.terraform.d | Terraform provider cache |
/root/.config/gcloud | GCP credentials (mount read-only) |
/root/.aws | AWS credentials (mount read-only) |
Content type
Image
Digest
sha256:2af088741…
Size
339.4 MB
Last updated
7 months ago
docker pull energonhq/terraform