A lightweight Terraform Docker image based on Alpine Linux
10K+
A Terraform Docker image:
multiarch with support of amd64 and arm64,SBOM) changes,SBOM) attestation added using Syft,Terraform is no longer pinned to the fixed 1.5.*series; it now tracks the official upstream releases.
All other components are updated.
This image also includes a Python program state2inventory to generate an Ansible inventory from an infrastructure state.
docker run -t --rm jfxs/terraform-inventory terraform version
docker run -t --rm jfxs/terraform-inventory state2inventory terraform --help
or
docker run -t --rm quay.io/ifxs/terraform-inventory terraform version
docker run -t --rm quay.io/ifxs/terraform-inventory state2inventory terraform --help
Docker latest tag is 1.15.5-005, 1.15, 1 and has:
| Name | Version | Type |
|---|---|---|
| ca-certificates | 20260611-r0 | apk |
| curl | 8.21.0-r0 | apk |
| git | 2.54.0-r0 | apk |
| github.com/go-task/task/v3 | v3.52.0 | go-module |
| jq | 1.8.1-r0 | apk |
| state2inventory | 1.1.1 | python |
Dockerhub Overview page has the details of the last published image.
Docker tag definition:
<terraform_version>-<increment>
Example: 1.5.7-003
Cosign public key:
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa3yV6+yd/l4zh/tfT6Tx+zn0dhy3
BhFqSad1norLeKSCN2MILv4fZ9GA6ODOlJOw+7vzUvzZVr9IXnxEdjoWJw==
-----END PUBLIC KEY-----
The public key is also available online: https://gitlab.com/op_so/docker/cosign-public-key/-/raw/main/cosign.pub.
To verify an image:
cosign verify --key cosign.pub $IMAGE_URI
To verify and get the software bill of materials (SBOM) attestation:
cosign verify-attestation --key cosign.pub --type spdxjson $IMAGE_URI | jq '.payload | @base64d | fromjson | .predicate'
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE for details.
Content type
Image
Digest
sha256:e0f481697…
Size
75.5 MB
Last updated
19 days ago
docker pull jfxs/terraform-inventory