pentoo-overlay/scripts/qa/Dockerfile.build
Rick Farina (Zero_Chaos) 56834d9d2e
yet another way to diff
2025-12-12 18:20:31 -05:00

18 lines
631 B
Docker

FROM pentoolinux/pentoo-full
ARG github_sha
# Setup repos
WORKDIR /var/db/repos/
# setup gentoo repo
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
# Use the github checkout for pentoo, that's what we are testing
COPY . pentoo
#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 /var/db/repos/pentoo
RUN ./scripts/qa/test-build $github_sha