diff options
author | Martin Michaelis | 2021-04-29 19:48:52 +0200 |
---|---|---|
committer | GitHub | 2021-04-29 19:48:52 +0200 |
commit | d5761262862288764bae91b7b8e56dcc8f009238 (patch) | |
tree | eef250d83d94cc56c9fdcc564ccddc2426ae37c5 /Dockerfile | |
parent | f67e36097a79df36c676e9caf73acd3e78c32cae (diff) |
Remove random password in Dockerfiles (#15362)
* Remove random password of git user in dockerfile
* Disable git user account in rootless dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index e57b93d1a..3445544a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 |