portage: Add a Portage-volume-exporting image
authorW. Trevor King <wking@tremily.us>
Fri, 13 Dec 2013 23:31:27 +0000 (15:31 -0800)
committerW. Trevor King <wking@tremily.us>
Thu, 2 Jan 2014 02:03:32 +0000 (18:03 -0800)
commit5535808cf6b1fc4a61af0d977462b4ed1f750077
treeb3911dd4fb6a75e0c87c0f19bd220b9b63c2fbc9
parentc1fa09d8ee3e16d04dbd8f371a94753032848062
portage: Add a Portage-volume-exporting image

This builds the Portage snapshot into a stand-alone volume, which can
be mounted using -volumes-from.  There's currently no
Dockerfile-supported way to mount this for builds, so gentoo-portage
still goes the emerge-webrsync route.

We need something to fill the role of /bin/sh in the Portage-snapshot
container, so I'm using the /bin/busybox from the 'gentoo' image.  As
of 2013-12-12, it's:

  sys-apps/busybox-1.21.0
    USE="ipv6 pam static -livecd -make-symlinks -math -mdev -savedconfig
         (-selinux) -sep-usr -syslog -systemd"
build.sh
portage/.gitignore [new file with mode: 0644]
portage/Dockerfile.template [new file with mode: 0644]
portage/README.md [new file with mode: 0644]