git-server-docker-stagit

git-server-with-stagit
git clone git://git.andersuno.nu/git-server-docker-stagit.git
Log | Files | Refs | README

commit 64442bd1af0feffee83e4208bc1c7b54a5301610
parent abe71150154d9235fa9637ff1d41558d2867f215
Author: Anders <anders@desk.andersuno.nu>
Date:   Fri, 21 Oct 2022 19:19:00 +0200

refactor: removed daemon-parts from server context

Diffstat:
Mserver_context/Dockerfile | 2--
Mserver_context/start.sh | 2--
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/server_context/Dockerfile b/server_context/Dockerfile @@ -7,7 +7,6 @@ RUN apk add --no-cache \ openssh \ # git=2.8.3-r0 git \ - git-daemon \ stagit # Key generation on the server @@ -37,7 +36,6 @@ COPY start.sh start.sh # More info: https://git-scm.com/docs/git-shell COPY git-shell-commands /home/git/git-shell-commands -EXPOSE 9418 EXPOSE 22 CMD ["sh", "start.sh"] diff --git a/server_context/start.sh b/server_context/start.sh @@ -27,7 +27,5 @@ if [ -d /git-server/public-html/ ]; then find . -type d -exec chmod g+s '{}' + fi -/usr/bin/git daemon --reuseaddr --base-path=/git-server/repos/ /git-server/repos/ & - # -D flag avoids executing sshd as a daemon /usr/sbin/sshd -D