Skip to content

Commit

Permalink
Disable git user account in rootless dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mgjm committed Apr 9, 2021
1 parent 7075a77 commit 04390f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile.rootless
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ RUN addgroup \
-s /bin/bash \
-u 1000 \
-G git \
git && \
echo "git:*" | chpasswd -e
git

RUN mkdir -p /var/lib/gitea /etc/gitea
RUN chown git:git /var/lib/gitea /etc/gitea
Expand Down

0 comments on commit 04390f5

Please sign in to comment.