aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@alunduil.com>2015-01-10 17:10:05 -0600
committerAlex Brandt <alunduil@alunduil.com>2015-01-10 17:10:05 -0600
commitc8dbe11a38658d8e94d76bdc35d542c0767011d8 (patch)
tree21f551927cec17e430bc7dcf3264ea880d4a5aa8
parentMerge pull request #9 from alunduil/hub-style-dockerfiles (diff)
downloaddocker-images-c8dbe11a38658d8e94d76bdc35d542c0767011d8.tar.gz
docker-images-c8dbe11a38658d8e94d76bdc35d542c0767011d8.tar.bz2
docker-images-c8dbe11a38658d8e94d76bdc35d542c0767011d8.zip
ensure /usr exists but don't error if it does
Need a -p to ignore existing users on the existence check for /usr before extracting portage.
-rw-r--r--portage/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/portage/Dockerfile b/portage/Dockerfile
index 887c140..b7628a3 100644
--- a/portage/Dockerfile
+++ b/portage/Dockerfile
@@ -2,4 +2,4 @@ FROM busybox:latest
MAINTAINER Gentoo Container Team <containers@gentoo.org>
ADD http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2 /
-RUN mkdir /usr && bzcat /portage-latest.tar.bz2 | tar -xf - -C /usr
+RUN mkdir -p /usr && bzcat /portage-latest.tar.bz2 | tar -xf - -C /usr