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:
parent
192cba106d
commit
a549be5b6a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user