Remove the VOLUME declaration

In the use cases where we want this, it needs to be specified on the
command-line anyway.  In the use cases where we don't want--such as
ADDing the source to the builder image for a cross-machine build--we
don't want it at all.  So don't declare it.
This commit is contained in:
Eric Kidd 2016-04-17 06:36:11 -04:00
parent 16962993f9
commit 19406f809a

View file

@ -46,7 +46,6 @@ RUN rm -rf /musl
# Mount the source code we want to build on /home/rust/src. We do this as
# user `rust`, which will be uid 1000, gid 1000 outside the container.
VOLUME ["/home/rust/src"]
USER rust
WORKDIR /home/rust/src