Skip to content

Commit

Permalink
refactor: always pull latest Portage tree
Browse files Browse the repository at this point in the history
  • Loading branch information
KSmanis committed Aug 7, 2023
1 parent 8ec5a93 commit 18c2059
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ksmanis/stage3:20230807@sha256:9b65a62d87c5a5d2074b5efb2baa3907337e3e4d39a6771cfa3963257055a45e AS distcc-builder
RUN set -eux; \
printf '[gentoo]\nsync-type = webrsync\n' > /etc/portage/repos.conf; \
RUN --mount=type=bind,from=ksmanis/portage,source=/var/db/repos/gentoo,target=/var/db/repos/gentoo,rw \
set -eux; \
emerge --sync; \
emerge --info; \
emerge --quiet-build -tv distcc; \
rm -rf /var/cache/distfiles/ /var/db/repos/gentoo/; \
rm -rf /var/cache/distfiles/; \
distcc --version

FROM distcc-builder AS distcc-tcp
Expand Down

0 comments on commit 18c2059

Please sign in to comment.