1
0
mirror of https://github.com/kylemanna/docker-aosp synced 2026-08-11 08:22:57 +00:00

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
+1 -2
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