1 FROM NAMESPACE/gentoo:TAG
2 MAINTAINER A. U. Thor <author@example.com>
3 RUN sed -i 's/#rc_sys=""/rc_sys="lxc"/g' /etc/rc.conf
4 RUN echo 'GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/"' >> /etc/portage/make.conf
5 #RUN echo 'SYNC="rsync://rsync.us.gentoo.org"' >> /etc/portage/make.conf
6 RUN mkdir -p /usr/portage
8 RUN emerge --sync --quiet
9 RUN eselect news read new