From a549be5b6aefb33d6dc03ce0a451129570fe4929 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Fri, 21 Nov 2014 12:25:34 -0800 Subject: [PATCH] Dockerfile: Squash VOLUME statements * Merge VOLUME statements in to a simple statement to help make the resulting image slightly "flatter". --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7580ac1..71b5e48 100644 --- a/Dockerfile +++ b/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