This repository hosts the Dockerfiles used to build the ALF container images. The build.sh script can be invoked locally or in CI to build every image defined in the tree and push them to the configured registries.
- The workflow at
.github/workflows/docker-build.ymlbuilds every image on pushes tomain, pull requests, or manual triggers. - A job matrix spins up parallel runners for the distributions (
archlinux,bookworm,bullseye,jupyter,trixie,tumbleweed), each invoking the build script withSELECT_DISTRIBUTIONset accordingly. - Images are published to the GitHub Container Registry namespace
ghcr.io/<owner>/<repository>/...when the workflow runs on the default branch or via manual dispatch. - The workflow relies on the built-in
GITHUB_TOKENand requests thepackages: writepermission; no additional secrets are required. - Pull request runs build the images for validation but skip the push step by propagating
PUSH_IMAGES=0to the build script.
Run ./build.sh to build all images. Set SELECT_DISTRIBUTION=<name> (with <name> one of archlinux, bookworm, bullseye, jupyter, trixie, tumbleweed) to restrict the build to a single distribution. Set REGISTRY_URL to push to a custom registry and export PUSH_IMAGES=0 for a dry run without pushing.