mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
workflow, minor cleanup and disable regen
This commit is contained in:
parent
4e95faa200
commit
35ff92f81a
1 changed files with 11 additions and 4 deletions
|
|
@ -1,15 +1,22 @@
|
||||||
FROM pentoolinux/pentoo-core
|
FROM pentoolinux/pentoo-core
|
||||||
|
|
||||||
#setup gentoo repo
|
# Setup repos
|
||||||
WORKDIR /var/db/repos/
|
WORKDIR /var/db/repos/
|
||||||
|
# setup gentoo repo
|
||||||
RUN git clone https://github.com/gentoo/gentoo.git --depth 1
|
RUN git clone https://github.com/gentoo/gentoo.git --depth 1
|
||||||
|
# setup pentoo repo
|
||||||
#RUN git clone https://github.com/pentoo/pentoo-overlay.git pentoo --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
|
# Use the github checkout for pentoo, that's what we are testing
|
||||||
COPY . pentoo
|
COPY . pentoo
|
||||||
RUN FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --regen --jobs=$(nproc) --quiet
|
|
||||||
|
#Regen doubles the time it takes for the action to run
|
||||||
|
#Revisit if this is worth running when we have >2 emerge calls
|
||||||
|
#RUN time FEATURES="-ipc-sandbox -network-sandbox -pid-sandbox" emerge --regen --jobs=$(nproc) --quiet
|
||||||
|
|
||||||
WORKDIR /home
|
WORKDIR /home
|
||||||
#RUN sed -i 's#pentoo-in-a-container#pentoo-in-a-container -pentoo-full#' /etc/portage/make.conf
|
|
||||||
#disable minimal
|
# disable minimal (pentoo-core is default minimal)
|
||||||
RUN sed -i 's# pentoo-minimal##' /etc/portage/make.conf
|
RUN sed -i 's# pentoo-minimal##' /etc/portage/make.conf
|
||||||
|
|
||||||
#test install pentoo/pentoo
|
#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
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue