A Docker image for the Forgejo Runner containing client tools for BuildKit and Docker
Find a file
2025-11-18 14:18:54 +01:00
.forgejo/workflows Merge pull request 'Update actions/checkout action to v5.0.1' (#7) from renovate/actions-checkout-5.x into master 2025-11-18 14:18:54 +01:00
examples Create buildkit image 2025-11-17 10:03:16 +01:00
scripts Create buildkit image 2025-11-17 10:03:16 +01:00
.dockerignore Create buildkit image 2025-11-17 10:03:16 +01:00
.gitignore Create buildkit image 2025-11-17 10:03:16 +01:00
.renovaterc Enable automerge for BuildKit dependency upgrades 2025-11-17 12:05:55 +01:00
Dockerfile Create buildkit image 2025-11-17 10:03:16 +01:00
Justfile Create buildkit image 2025-11-17 10:03:16 +01:00
LICENSE Initial commit 2025-11-17 09:35:40 +01:00
README.md Fix image name in README 2025-11-17 10:06:12 +01:00

forgejo-actions-buildkit-image

A Docker image for the Forgejo Runner containing client tools for BuildKit and Docker.

Tools required for basic operations in Forgejo Actions, such a nodejs, git and zstd (for actions/cache) are also included.

The intended use for this image is to be registered as a label in a runner, like buildkit:docker://git.sclu1034.dev/lucas/forgejo-actions-buildkit-image:latest. A runner with this label would then be expected to provide access to a BuildKit daemon and a Docker daemon to the job container.

Please check out the examples/.

Version number

The versioned tags follow the BuildKit version. A revision number may be added if necessary.

Development

Building the image locally with just Docker works as usual.

The Forgejo Actions workflows utilize BuildKit to build the image, and Docker to test the image. A runner needs the to be setup with this image as outlined above.

For running the workflows locally, the runner already injects the local Docker daemon socket, and the script scripts/forgejo-runner-exec wraps the forgejo-runner exec call to provide a BuildKit daemon.