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:
parent
6cbbd6c162
commit
d91e17da46
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user