summaryrefslogtreecommitdiff
path: root/ci/docker/entrypoint.sh
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-08-08 11:07:43 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2021-08-09 08:42:34 -0400
commitb140e22e2e4e0bb47eea39485a5501497462023a (patch)
tree803abe469c025de2d6177e7b842a47182f92ee45 /ci/docker/entrypoint.sh
parente65229ee972c113413eeca77853213352129bd47 (diff)
downloadlibgit2-ethomson/dockerfile.tar.gz
ci: remove the docker entrypointethomson/dockerfile
Omitting an entrypoint.sh to configure the container and instead depending on docker primitives allows us to be more portable. (If a distribution uses a different mechanism for adding users, we need not have multiple entrypoint.sh files or invariants within it; instead we can configure that in the dockerfile itself along with all the other distribution specific components.)
Diffstat (limited to 'ci/docker/entrypoint.sh')
-rw-r--r--ci/docker/entrypoint.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/ci/docker/entrypoint.sh b/ci/docker/entrypoint.sh
deleted file mode 100644
index 8d96e3acd..000000000
--- a/ci/docker/entrypoint.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash -e
-useradd --shell /bin/bash libgit2
-chown --recursive libgit2:libgit2 /home/libgit2
-exec sudo --preserve-env --set-home --user=libgit2 "$@"