mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-25 00:01:15 +02:00
15 lines
740 B
Docker
15 lines
740 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
|
|
# Use the github checkout for pentoo, that's what we are testing
|
|
COPY . 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
|
|
#test install pentoo/pentoo
|
|
RUN time FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --getbinpkg=y --buildpkg=n --jobs=$(nproc) --load-average=$(nproc) --deep --update --newuse pentoo/pentoo --verbose --pretend
|