mirror of https://gitea.com/gitea/test-env.git
Update 'Dockerfile'
This commit is contained in:
parent
9806bca297
commit
1ff26f7746
10
Dockerfile
10
Dockerfile
|
@ -1,6 +1,14 @@
|
||||||
FROM golang:1.17-buster
|
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
|
# upgrade git to v2.33.0
|
||||||
RUN curl -SL https://github.com/git/git/archive/v2.33.0.tar.gz \
|
RUN curl -SL https://github.com/git/git/archive/v2.33.0.tar.gz \
|
||||||
|
|
Loading…
Reference in New Issue