Add base busybox image, tag it

This commit is contained in:
2026-04-13 17:07:15 +03:00
parent c4d89813a4
commit 6333218d66
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# syntax=docker/dockerfile:1
# gentoo-base-busybox
FROM docker.io/gentoo/stage3:nomultilib AS builder
WORKDIR /workdir
COPY --exclude=repos . .
COPY repos /var/db/repos
RUN echo 'FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox"' >> /etc/portage/make.conf
RUN --mount=type=cache,target=/workdir/cache,sharing=locked \
/bin/bash src/bootstrap.sh -u -r /var/db/repos/ceamac -p ceamac:linux/arch/amd64/busybox -m make-docker.conf /mnt/gentoo -j12
CMD ["/bin/sh"]