Dockerfile: Squash VOLUME statements

* Merge VOLUME statements in to a simple statement to help make the
  resulting image slightly "flatter".
This commit is contained in:
Kyle Manna 2014-11-21 12:25:34 -08:00
parent 192cba106d
commit a549be5b6a

View File

@ -32,8 +32,7 @@ RUN chown aosp:aosp /home/aosp/.gitconfig
# The persistent data will be in these two directories, everything else is
# considered to be ephemeral
VOLUME /tmp/ccache
VOLUME /aosp
VOLUME ["/tmp/ccache", "/aosp"]
# Improve rebuild performance by enabling compiler cache
ENV USE_CCACHE 1