Update 'Dockerfile'

This commit is contained in:
techknowlogick 2021-09-29 03:59:15 +08:00
parent 9806bca297
commit 1ff26f7746
1 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,14 @@
FROM golang:1.17-buster
RUN adduser --disabled-password --gecos '' gitea
RUN addgroup \
-S -g 1000 \
gitea && \
adduser \
-S-D \
-s /bin/bash \
-u 1000 \
-G gitea \
gitea
# upgrade git to v2.33.0
RUN curl -SL https://github.com/git/git/archive/v2.33.0.tar.gz \