Change in docker-playground[master]: cgit: Fix group membership to allow read of git repos

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Aug 18 15:29:32 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10516 )

Change subject: cgit: Fix group membership to allow read of git repos
......................................................................

cgit: Fix group membership to allow read of git repos

Change-Id: I14372fbf63429a2dc7c78c60c7a1eda10791bd0c
---
M cgit/Dockerfile
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved; Verified



diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index c7d2640..4cf494a 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -12,3 +12,6 @@
 
 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

-- 
To view, visit https://gerrit.osmocom.org/10516
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I14372fbf63429a2dc7c78c60c7a1eda10791bd0c
Gerrit-Change-Number: 10516
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180818/eb4173ad/attachment.htm>


More information about the gerrit-log mailing list