Add missing git group

This commit is contained in:
Julian Ospald 2018-06-05 16:46:18 +02:00
parent e7237eee23
commit 4981389824
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

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