From: W. Trevor King Date: Thu, 19 Jun 2014 02:51:15 +0000 (-0700) Subject: gentoo-portage/Dockerfile.template: Use 'webrsync --revert' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d187ff88a909275afdaefdbabae7dc5a8a3e6165;p=dockerfile.git 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. --- 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