-
Notifications
You must be signed in to change notification settings - Fork 2
Containers
Marco edited this page Feb 16, 2026
·
2 revisions
Yap provides pre-built OCI container images with everything needed to build packages for a given distribution. The images work with both Docker and Podman.
Images are published to Docker Hub as m0rf30/yap-<target>:
| Image | Distribution |
|---|---|
m0rf30/yap-alpine |
Alpine Linux |
m0rf30/yap-arch |
Arch Linux |
m0rf30/yap-rocky-8 |
Rocky Linux 8 |
m0rf30/yap-rocky-9 |
Rocky Linux 9 |
m0rf30/yap-rocky-10 |
Rocky Linux 10 |
m0rf30/yap-ubuntu-focal |
Ubuntu 20.04 Focal |
m0rf30/yap-ubuntu-jammy |
Ubuntu 22.04 Jammy |
m0rf30/yap-ubuntu-noble |
Ubuntu 24.04 Noble |
Use yap pull to download an image:
yap pull ubuntu-nobleThis detects the container runtime automatically (Podman is preferred over Docker) and runs the equivalent of:
podman pull docker.io/m0rf30/yap-ubuntu-nobleEach image has yap as its entrypoint. Mount your project directory and pass
the build arguments:
docker run --rm -v /path/to/project:/project \
m0rf30/yap-ubuntu-noble build ubuntu-noble /projectOr with Podman:
podman run --rm -v /path/to/project:/project \
m0rf30/yap-ubuntu-noble build ubuntu-noble /projectBuilt packages are written to the output directory defined in yap.json, so mount or copy that path to retrieve them.
Each image is a multi-stage build that includes:
- The
yapbinary (statically compiled, compressed with UPX) - Base development toolchain for the target distribution
- Go toolchain
- Bash completions for
yap
The images do not include your project sources -- mount them at runtime.