aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-15 19:35:25 +0200
committerManuel Rüger <manuel@rueg.eu>2017-05-16 15:56:28 +0200
commitb495d93be31af21a0a4f4f12d2e302d05b2e8c6f (patch)
treef0bc781ad3a6fadce673e71610a92fdac24d4ece
parentRemove outdated docs (diff)
downloaddocker-images-b495d93be31af21a0a4f4f12d2e302d05b2e8c6f.tar.gz
docker-images-b495d93be31af21a0a4f4f12d2e302d05b2e8c6f.tar.bz2
docker-images-b495d93be31af21a0a4f4f12d2e302d05b2e8c6f.zip
Use busybox as baseimage for portage data container
* Provide /bin/true to create the data container * Export VOLUME again
-rw-r--r--portage.Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/portage.Dockerfile b/portage.Dockerfile
index 19de08e..0a6c506 100644
--- a/portage.Dockerfile
+++ b/portage.Dockerfile
@@ -25,8 +25,9 @@ RUN apk add --no-cache gnupg tar wget xz \
&& tar xJpf ${SNAPSHOT} -C usr \
&& rm ${SNAPSHOT} ${SNAPSHOT}.gpgsig ${SNAPSHOT}.md5sum
-FROM scratch
+FROM busybox:latest
WORKDIR /
-
COPY --from=builder /portage/ /
+CMD /bin/true
+VOLUME /usr/portage