Commit c2ac139cc25b4e0e25f5f15b23fcbeb5cbb59a29

Edward Thomson 2020-06-07T00:12:47

Update xenial

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/azure-pipelines/docker/xenial b/azure-pipelines/docker/xenial
index bfb96d9..9e4d143 100644
--- a/azure-pipelines/docker/xenial
+++ b/azure-pipelines/docker/xenial
@@ -64,4 +64,7 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
 RUN chmod a+x /usr/local/bin/entrypoint.sh
 RUN mkdir /var/run/sshd
 
-ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
+RUN useradd --shell /bin/bash libgit2
+RUN chown --recursive libgit2:libgit2 /home/libgit2
+
+USER libgit2