forked from aicage/aicage
-
Notifications
You must be signed in to change notification settings - Fork 0
Customization Base Images
Stefan Kuhn edited this page Jul 1, 2026
·
2 revisions
Custom base images let you build and update base layers locally. They live under
~/.aicage-custom/base-images/ and show up alongside built-in bases during selection.
If a custom base name matches a built-in base name, the custom base overrides it.
~/.aicage-custom/base-images/<BASE>/
├─ base.yml (or base.yaml)
└─ Dockerfile
from_image: debian:bookworm
base_image_distro: Debian
base_image_description: "Debian base image"
architectures:
- amd64
- arm64architectures is required. Use amd64 and/or arm64.
Only bases matching the current host architecture are offered. For example, an
amd64-only base is not shown on arm64 hosts.
The Dockerfile builds the custom base image. The build arg FROM_IMAGE is provided:
ARG FROM_IMAGE
FROM ${FROM_IMAGE} AS from_imageKeep the build non-interactive and deterministic.