From 58c0e0404fc369a5592653f363dc6b51e4ecec42 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 21 Jul 2018 09:38:52 +0200 Subject: [PATCH] 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 --- git-daemon/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-daemon/Dockerfile b/git-daemon/Dockerfile index 7dc7d39c..9c4601bf 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