Browse Source

Add missing git group

master
Julian Ospald 5 years ago
parent
commit
4981389824
No known key found for this signature in database GPG Key ID: 511B62C09D50CD28
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Dockerfile

+ 1
- 0
Dockerfile View 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



Loading…
Cancel
Save