Browse Source

Dockerfile: Squash VOLUME statements

* Merge VOLUME statements in to a simple statement to help make the
  resulting image slightly "flatter".
4.4-kitkat
Kyle Manna 7 years ago
parent
commit
a549be5b6a
  1. 3
      Dockerfile

3
Dockerfile

@ -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

Loading…
Cancel
Save