1
0
mirror of https://github.com/kylemanna/docker-aosp synced 2025-06-07 07:56:25 +00:00

Dockerfile: Change ownership of /tmp/cache and /aosp directories

Suggested-by: Philipp Hug <philipp@hug.cx>
This commit is contained in:
Jean-Christophe Fillion-Robin 2016-04-19 13:37:18 -04:00
parent 6cbbd6c162
commit d91e17da46

View File

@ -30,6 +30,9 @@ COPY ssh_config /home/aosp/.ssh/config
RUN chown aosp:aosp /home/aosp/.gitconfig && \ RUN chown aosp:aosp /home/aosp/.gitconfig && \
chown aosp:aosp -R /home/aosp/.ssh 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 # The persistent data will be in these two directories, everything else is
# considered to be ephemeral # considered to be ephemeral
VOLUME ["/tmp/ccache", "/aosp"] VOLUME ["/tmp/ccache", "/aosp"]