Base OS & distroless
Use a base image as the final stage of a multi-stage build, or as the parent of your own image. Base images include /bin/sh (BusyBox on Wolfi and Alpine) so shell-form RUN works; language runtimes do not.
| Image | Tags | Distro | Shell | Entrypoint |
|---|---|---|---|---|
wolfi-base |
latest |
Wolfi (glibc) | BusyBox | /bin/sh |
alpine-base |
3.24, latest |
Alpine (musl) | BusyBox | /bin/sh |
debian-minimal |
bookworm |
Debian 12 minbase | dash, bash | /bin/sh |
ubi-minimal |
9 |
Red Hat UBI 9 | bash | /bin/sh |
wolfi-base
Section titled “wolfi-base”glibc, CA bundle, tzdata and BusyBox. The default runtime stage for static or glibc-linked binaries (Go, Rust, C/C++).
FROM registry.kaloracloud.eu/kalora/wolfi-base:latestCOPY --chown=65532:65532 app /usr/local/bin/appENTRYPOINT ["/usr/local/bin/app"]alpine-base
Section titled “alpine-base”alpine-baselayout, alpine-keys, BusyBox, CA bundle and tzdata. Use it for musl-linked binaries or when you need Alpine’s package set.
debian-minimal
Section titled “debian-minimal”Built with mmdebstrap --variant=minbase, optionally pinned to a snapshot.debian.org timestamp. Use it when you depend on Debian packages or glibc ABI compatibility with Debian-built binaries.
ubi-minimal
Section titled “ubi-minimal”Red Hat Universal Base Image 9 rootfs with a nonroot user. Use it for RHEL-certified stacks and OpenShift.
Choosing a base
Section titled “Choosing a base”| Need | Base |
|---|---|
| Smallest glibc runtime | wolfi-base |
| musl, Alpine packages | alpine-base |
Debian .deb dependencies |
debian-minimal |
| RHEL / OpenShift support | ubi-minimal |
Measured size, package count and CVEs against upstream equivalents: benchmark.