summaryrefslogtreecommitdiff
path: root/azure-pipelines
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-06-07 00:12:17 +0100
committerGitHub <noreply@github.com>2020-06-07 00:12:17 +0100
commit0d82e49f5df625a5ddceb5fc6997d48acc9024fa (patch)
treeee064601f3468327046491f5f6166ea2344a3417 /azure-pipelines
parent308fc153e5ff1333dec9d9162ac849552622e4b6 (diff)
downloadlibgit2-0d82e49f5df625a5ddceb5fc6997d48acc9024fa.tar.gz
Update bionic
Diffstat (limited to 'azure-pipelines')
-rw-r--r--azure-pipelines/docker/bionic5
1 files changed, 4 insertions, 1 deletions
diff --git a/azure-pipelines/docker/bionic b/azure-pipelines/docker/bionic
index 65a14063a..9c34cfd87 100644
--- a/azure-pipelines/docker/bionic
+++ b/azure-pipelines/docker/bionic
@@ -39,4 +39,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