aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@alunduil.com>2015-09-06 20:39:02 -0500
committerAlex Brandt <alunduil@alunduil.com>2015-09-06 20:39:02 -0500
commit34dc6c4f7a081d82fac4b13a5b090b48c912c6f3 (patch)
treebe96b1a0f5235f1df43726dd1b892a229779803d
parentMerge pull request #19 from alunduil/update-readme (diff)
downloaddocker-images-34dc6c4f7a081d82fac4b13a5b090b48c912c6f3.tar.gz
docker-images-34dc6c4f7a081d82fac4b13a5b090b48c912c6f3.tar.bz2
docker-images-34dc6c4f7a081d82fac4b13a5b090b48c912c6f3.zip
add /usr/portage volume to portage image
We need to export the /usr/portage directory as a volume to use this image as a data volume and successfully use it as a remote portage directory.
-rw-r--r--portage/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/portage/Dockerfile b/portage/Dockerfile
index 827fd58..85d7f3b 100644
--- a/portage/Dockerfile
+++ b/portage/Dockerfile
@@ -6,3 +6,5 @@ ADD http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2 /
RUN mkdir -p /usr
RUN bzcat /portage-latest.tar.bz2 | tar -xf - -C /usr
RUN mkdir -p /usr/portage/distfiles /usr/portage/metadata /usr/portage/packages
+
+VOLUME /usr/portage