summaryrefslogtreecommitdiff
path: root/azure-pipelines
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines')
-rw-r--r--azure-pipelines/docker/xenial5
1 files changed, 4 insertions, 1 deletions
diff --git a/azure-pipelines/docker/xenial b/azure-pipelines/docker/xenial
index bfb96d9db..9e4d14329 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