aboutsummaryrefslogtreecommitdiffstats
path: root/git-daemon
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-07-21 09:38:52 +0200
committerHarald Welte <laforge@gnumonks.org>2018-07-21 09:38:52 +0200
commit58c0e0404fc369a5592653f363dc6b51e4ecec42 (patch)
treebe7b8a601099e4e83e768678b6adcbc04451cf0d /git-daemon
parent1694453aeebaefb36a4a26f7b955e5cb67812997 (diff)
git-deamon: Make sure to create the git-daemon user
Recent debian packages moved creation of the git-daemon user from the main "git" package into the "git-daemon-run" package. We want the user without the latter... Change-Id: I42f68ba31d32574a01d1372d8cc5239c420e816f
Diffstat (limited to 'git-daemon')
-rw-r--r--git-daemon/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-daemon/Dockerfile b/git-daemon/Dockerfile
index 7dc7d39..9c4601b 100644
--- a/git-daemon/Dockerfile
+++ b/git-daemon/Dockerfile
@@ -8,6 +8,8 @@ RUN apt-get update -qq
RUN apt-get install -qqy git
+RUN useradd -u 30001 -g ssh git-daemon
+
ADD git-daemon.sh /usr/bin/git-daemon.sh
VOLUME /git