From 6cbbd6c1624e0685bdcb7bee5703c0050d8e8353 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Tue, 19 Apr 2016 13:08:56 -0400 Subject: [PATCH] Dockerfile: Fix ownership of .gitconfig and .ssh --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 607aa9a..5edea7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,8 @@ RUN chmod 755 /usr/local/bin/* RUN groupadd -r aosp && useradd --create-home -g aosp aosp COPY gitconfig /home/aosp/.gitconfig 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 # considered to be ephemeral