pentoo-overlay/scripts/qa/Dockerfile
2025-08-23 14:01:38 -04:00

19 lines
946 B
Docker

FROM pentoolinux/pentoo-core
#setup gentoo repo
WORKDIR /var/db/repos/
RUN git clone https://github.com/gentoo/gentoo.git --depth 1
#RUN git clone https://github.com/pentoo/pentoo-overlay.git pentoo --depth 1
COPY . pentoo
RUN pwd
RUN ls -al
RUN ls -al pentoo
#RUN emerge --regen --jobs=$(nproc) --quiet
WORKDIR /home
#RUN sed -i 's#pentoo-in-a-container#pentoo-in-a-container -pentoo-full#' /etc/portage/make.conf
#disable minimal
RUN sed -i 's# pentoo-minimal##' /etc/portage/make.conf
#install libsndfile minimal to break circular deps
#RUN USE=minimal FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --getbinpkg=y --buildpkg=n --jobs=$(nproc) --load-average=$(nproc) --deep --update --newuse media-libs/libsndfile
#install pentoo/pentoo
RUN FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --getbinpkg=y --buildpkg=n --jobs=$(nproc) --load-average=$(nproc) --deep --update --newuse pentoo/pentoo --verbose --pretend