mirror of
https://github.com/kylemanna/docker-aosp
synced 2026-08-11 16:33:05 +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:
+1
-2
@@ -32,8 +32,7 @@ RUN chown aosp:aosp /home/aosp/.gitconfig
|
|||||||
|
|
||||||
# The persistent data will be in these two directories, everything else is
|
# The persistent data will be in these two directories, everything else is
|
||||||
# considered to be ephemeral
|
# considered to be ephemeral
|
||||||
VOLUME /tmp/ccache
|
VOLUME ["/tmp/ccache", "/aosp"]
|
||||||
VOLUME /aosp
|
|
||||||
|
|
||||||
# Improve rebuild performance by enabling compiler cache
|
# Improve rebuild performance by enabling compiler cache
|
||||||
ENV USE_CCACHE 1
|
ENV USE_CCACHE 1
|
||||||
|
|||||||
Reference in New Issue
Block a user