summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-06-07 00:37:55 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-06-07 00:37:55 +0100
commitc16ba496794fcd39ccc313932a40978411ac798a (patch)
tree0a09a86e6d9803aeab79a08e0cadb7319721909d
parentd1f3933ee70ad2e4168a6670a084c16920806968 (diff)
downloadlibgit2-c16ba496794fcd39ccc313932a40978411ac798a.tar.gz
yo
-rw-r--r--azure-pipelines/docker/bionic6
-rw-r--r--azure-pipelines/docker/xenial6
2 files changed, 2 insertions, 10 deletions
diff --git a/azure-pipelines/docker/bionic b/azure-pipelines/docker/bionic
index ee773300c..65a14063a 100644
--- a/azure-pipelines/docker/bionic
+++ b/azure-pipelines/docker/bionic
@@ -39,8 +39,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod a+x /usr/local/bin/entrypoint.sh
RUN mkdir /var/run/sshd
-RUN useradd --shell /bin/bash libgit2
-RUN mkdir /home/libgit2
-RUN chown --recursive libgit2:libgit2 /home/libgit2
-
-USER libgit2
+ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
diff --git a/azure-pipelines/docker/xenial b/azure-pipelines/docker/xenial
index 3a010379f..bfb96d9db 100644
--- a/azure-pipelines/docker/xenial
+++ b/azure-pipelines/docker/xenial
@@ -64,8 +64,4 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod a+x /usr/local/bin/entrypoint.sh
RUN mkdir /var/run/sshd
-RUN useradd --shell /bin/bash libgit2
-RUN mkdir /home/libgit2
-RUN chown --recursive libgit2:libgit2 /home/libgit2
-
-USER libgit2
+ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]