From d187ff88a909275afdaefdbabae7dc5a8a3e6165 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 18 Jun 2014 19:51:15 -0700 Subject: [PATCH] gentoo-portage/Dockerfile.template: Use 'webrsync --revert' To grab a specific snapshot of the Portage tree. Otherwise the snapshot you get depends on when you run webrsync. The public mirrors only seem to keep about a week of snapshots, so you may want to use something like package-cache to cache interesting snapshots locally. --- gentoo-portage/Dockerfile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-portage/Dockerfile.template b/gentoo-portage/Dockerfile.template index 5f0f3e1..00204ff 100644 --- a/gentoo-portage/Dockerfile.template +++ b/gentoo-portage/Dockerfile.template @@ -29,5 +29,5 @@ RUN echo 'GENTOO_MIRRORS="http://distfiles.gentoo.org/"' >> /etc/portage/make.co #RUN echo 'SYNC="rsync://rsync.us.gentoo.org"' >> /etc/portage/make.conf RUN mkdir -p /usr/portage RUN chown -R portage:portage /usr/portage -RUN emerge-webrsync +RUN emerge-webrsync --revert=${TAG} RUN eselect news read new -- 2.26.2