Initial commit
First container (for gitea)
This commit is contained in:
12
Dockerfile.base.gnu
Normal file
12
Dockerfile.base.gnu
Normal file
@@ -0,0 +1,12 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
# gentoo-base-gnu
|
||||
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/gnu -m make-docker.conf /mnt/gentoo -j12
|
||||
|
||||
CMD ["/bin/sh"]
|
||||
Reference in New Issue
Block a user