Dockerfile: rename user to _gitea instead of git
This commit is contained in:
parent
07531cf953
commit
209d9f3507
1 changed files with 3 additions and 3 deletions
|
@ -65,10 +65,10 @@ RUN addgroup \
|
|||
-s /bin/bash \
|
||||
-u 1000 \
|
||||
-G git \
|
||||
git && \
|
||||
echo "git:*" | chpasswd -e
|
||||
_gitea && \
|
||||
echo "_gitea:*" | chpasswd -e
|
||||
|
||||
ENV USER git
|
||||
ENV USER _gitea
|
||||
ENV GITEA_CUSTOM /data/gitea
|
||||
|
||||
VOLUME ["/data"]
|
||||
|
|
Loading…
Reference in a new issue