Add missing git group

This commit is contained in:
Julian Ospald 2018-06-05 16:46:18 +02:00
parent e7237eee23
commit 4981389824
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 511B62C09D50CD28
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni

Vedi File

@ -35,6 +35,7 @@ RUN apk --no-cache add \
mv /gopath/src/github.com/gogs/gogs/ /app/gogs/ && \
rm -rf "$GOPATH" /var/cache/apk/*
RUN addgroup -S git
RUN adduser -G git -H -D -g 'Gogs Git User' git -h /data/git -s /bin/bash && \
usermod -p '*' git && passwd -u git