aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-08-18 17:28:54 +0200
committerHarald Welte <laforge@gnumonks.org>2018-08-18 17:28:54 +0200
commit37dd6497bdea9febfe2b16525fd9e29b1b1a67dc (patch)
tree68cc88789081512c95b20f9fff49446ba0955091
parent113d916dc9df41809f6b45f31f0194ac53d8c00f (diff)
cgit: Fix group membership to allow read of git repos
-rw-r--r--cgit/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index c7d2640..4cf494a 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -12,3 +12,6 @@ RUN mkdir -p /usr/local/lib/cgit/filters
COPY osmo-commit-filter.py /usr/local/lib/cgit/filters/osmo-commit-filter.py
COPY syntax-highlighting.py /usr/local/lib/cgit/filters/syntax-highlighting.py
+
+RUN useradd -u 30001 -g ssh git-daemon
+RUN usermod -a -G 101 www-data