From d91e17da46f07e6f0d55d643469804f704fa7463 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 19 Apr 2016 13:37:18 -0400 Subject: [PATCH] Dockerfile: Change ownership of /tmp/cache and /aosp directories Suggested-by: Philipp Hug --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5edea7b..b2e9a73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,9 @@ COPY ssh_config /home/aosp/.ssh/config RUN chown aosp:aosp /home/aosp/.gitconfig && \ chown aosp:aosp -R /home/aosp/.ssh +RUN mkdir -p /tmp/ccache /aosp && \ + chown aosp:aosp /tmp/ccache /aosp + # The persistent data will be in these two directories, everything else is # considered to be ephemeral VOLUME ["/tmp/ccache", "/aosp"]