gentoo-portage/Dockerfile.template: Set rc_sys="lxc"
[dockerfile.git] / gentoo-portage / Dockerfile.template
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
7 RUN emerge-webrsync
8 RUN emerge --sync --quiet
9 RUN eselect news read new