The builder of the RTE images an AnsibleForms controller defines, written in Go. It joins the controller, builds each image the Designer asks for with BuildKit, and pushes it to its registry.
The AnsibleForms Installer sets it up: run it on a Linux server and choose the Builder role.
curl -fsSL https://ansibleforms.com/install | shThe controller decides what to build; the builder builds it, and knows nothing else.
- Joins like a Runner: dials the controller, with a join token or an admin's approval
- Builds with BuildKit: a rootless buildkitd of its own, or the one
BUILDKIT_HOSTnames - Pushes to any registry: the login comes sealed with each build and is never kept
- amd64, arm64 or both: one multi-architecture image; the other one needs QEMU on the host
- Signs and lists: cosign signatures, offline, and an SBOM pushed with the image
- Live log: every line of a build reaches the controller's job, its secrets masked
- Survives a drop: what the controller did not store yet is sent again after a reconnect
- Needs nothing more: no database, no repositories, no playbooks
- Image or binary: its image, or a static binary for Linux on each release, run as a service
The controller's Designer defines the RTE images; the builder builds each one as a job:
- Defined in the Designer: it writes each runtime environment's Dockerfile
- A build is a job: handed to an online builder, its log and result coming back as the job's
- Sealed secrets: the registry login and the signing key come sealed for that builder only
- Architectures:
amd64,arm64orall; the one that is not the host's is emulated with QEMU - Any release: it works with every controller that speaks the same socket contract
The builder's reference lives on ansibleforms.com, with the rest of the AnsibleForms documentation:
| Page | What it covers |
|---|---|
| The installer | Installing a builder with the installer's Builder role |
| Installing it | The installer, Helm or by hand, and what each needs |
| Joining the controller | A join token, or an admin's approval under Connections > Builders |
| Docker | Running it by hand with docker run, or as a Docker Compose service |
| Podman | Running it on Podman, rootful or rootless, and BUILDKIT_SNAPSHOTTER |
| amd64 and arm64 | Building for the other architecture, with QEMU on the host |
| Kubernetes with Helm | Installing it with the AnsibleForms chart's builder mode |
| Settings | Every environment variable it reads, and its default |
| Troubleshooting | What a failed build or a refused push usually means |
Contributions are welcome. Start with these files:
- CONTRIBUTING.md: how to build and test it, the socket contract, and how it is released
- CHANGELOG.md: the changes in every release
- SECURITY.md: how to report a security issue