mirror of
https://github.com/kylemanna/docker-aosp
synced 2025-06-07 07:56:25 +00:00
Dockerfile: Fix ownership of .gitconfig and .ssh
This commit is contained in:
parent
ee01698be3
commit
6cbbd6c162
@ -27,7 +27,8 @@ RUN chmod 755 /usr/local/bin/*
|
|||||||
RUN groupadd -r aosp && useradd --create-home -g aosp aosp
|
RUN groupadd -r aosp && useradd --create-home -g aosp aosp
|
||||||
COPY gitconfig /home/aosp/.gitconfig
|
COPY gitconfig /home/aosp/.gitconfig
|
||||||
COPY ssh_config /home/aosp/.ssh/config
|
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
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user