packaged by Chainguard
Catalog Starter gives your team 5 production-grade container images, free forever, with no contract or sales call. Sign up with your work email.
Try Starter for freeChainguard Harness uses frontier models from Anthropic, OpenAI, and Google to attack a copy of your app built on terrakube-api-server. It finds exploitable, validated issues that SAST and DAST tools aren't built to find.
Terrakube is an open source Infrastructure as Code automation platform, a self-hosted alternative to Terraform Cloud.
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
Terrakube is published as four images, all built from the terrakube-io/terrakube repository. Each replaces one upstream image:
| Chainguard image | Upstream image | Port |
|---|---|---|
|
| 8080 |
|
| 8075 |
|
| 8090 |
|
| 8080 |
The differences from upstream are:
/cnb/process/web. These images run the same Spring Boot jars
directly with java -jar on the OpenJDK 25 runtime. The jars are in
/usr/share/java/terrakube/. Paketo's memory calculator is not included,
so set JVM memory flags through JAVA_TOOL_OPTIONS if you need them.bash, git, jq and curl
for the scripts that jobs run.nginx-unprivileged base: it listens on port 8080 and keeps its PID file
and temporary files in /tmp. Mount the runtime configuration at
/usr/share/nginx/html/env-config.js, as upstream's Docker Compose stack
does.Terrakube needs a database (PostgreSQL, or in-memory H2 for evaluation), a Redis-compatible server, and an OpenID Connect provider such as Dex. The following commands start the services on one Docker network, using H2, valkey, and a shared signing secret for the internal tokens that the components use to talk to each other:
Check that the API and the registry are up:
The UI reads its settings from env-config.js. Create one that points at your
API, registry and identity provider, and mount it into the UI container:
You need a running OpenID Connect provider at the configured authority to sign
in. Upstream's
Docker Compose stack
shows a full deployment with Dex, PostgreSQL and S3-compatible storage. You
can use it with these images by replacing the azbuilder/* image references.
All three Java services are configured with environment variables. The upstream Docker Compose file lists the full set for each service. For a production deployment:
ApiDataSourceType=POSTGRESQL and the Datasource* variables on the
API.StorageType=AWS on the API and TerraformStateType=AwsTerraformStateImpl
and TerraformOutputType=AwsTerraformOutputImpl on the executor.InternalSecret. The executor and the
registry use it to sign their calls to the API.Paths that the services write to, such as the executor's Terraform working directories, are created under the home directory of the nonroot user. A volume mounted there must be writable by UID 65532.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at Chainguard