Remove random password in Dockerfiles (#15362)

* Remove random password of git user in dockerfile

* Disable git user account in rootless dockerfile
This commit is contained in:
Martin Michaelis authored and GitHub committed 2021-04-29 19:48:52 +02:00
1 parent f67e36097a
commit d576126286
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ RUN addgroup \
-u 1000 \
-G git \
git && \
echo "git:$(dd if=/dev/urandom bs=24 count=1 status=none | base64)" | chpasswd
echo "git:*" | chpasswd -e
ENV USER git
ENV GITEA_CUSTOM /data/gitea