Skip to content

Commit 7b6c5d9

Browse files
authored
Remove hardcoded password
Improve seecurity of container by removing hardcoded password
1 parent bbb107e commit 7b6c5d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ RUN addgroup \
6969
-s /bin/bash \
7070
-u 1000 \
7171
-G git \
72-
git && \
73-
echo "git:*" | chpasswd -e
72+
git
7473

7574
ENV USER=git
7675
ENV GITEA_CUSTOM=/data/gitea

0 commit comments

Comments
 (0)