BusyBox compiled for different Alpine & Debian versions, with default config (Alpine itself excludes certain applets by default).
BusyBox | 3.15 | 3.16 | 3.17 | 3.18 | 3.19 | 3.20 |
---|---|---|---|---|---|---|
1.34.1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
1.36.1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
BusyBox | 11 (bullseye) | 12 (bookworm) |
---|---|---|
1.34.1 | ✓ | ✓ |
1.36.1 | ✓ | ✓ |
You can find live examples in my Debian Docker image.
# set Debian version
ARG DEBIAN=12.8
ARG VERSION=240913
# use tags to load correct version of BusyBox for your Debian version
FROM ghcr.io/bfren/busybox:1.36.1-debian${DEBIAN}-${VERSION} AS busybox
# load the same the version of Debian
FROM debian:${DEBIAN}-slim AS build
# copy busybox executable to /bin
COPY --from=busybox / /bin
# run install
RUN busybox --install
# rest of Dockerfile