forked from NYANDEV/forgejo
Revert "Reduce number of layer" (#2086)
This reverts commit 789188f13c
.
This commit is contained in:
parent
789188f13c
commit
8fd43f215c
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -13,8 +13,8 @@ RUN apk --no-cache add \
|
||||||
s6 \
|
s6 \
|
||||||
curl \
|
curl \
|
||||||
openssh \
|
openssh \
|
||||||
tzdata \
|
tzdata
|
||||||
&& addgroup \
|
RUN addgroup \
|
||||||
-S -g 1000 \
|
-S -g 1000 \
|
||||||
git && \
|
git && \
|
||||||
adduser \
|
adduser \
|
||||||
|
@ -26,9 +26,9 @@ RUN apk --no-cache add \
|
||||||
git && \
|
git && \
|
||||||
echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
|
echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
|
||||||
|
|
||||||
ENV USER git \
|
ENV USER git
|
||||||
GITEA_CUSTOM /data/gitea \
|
ENV GITEA_CUSTOM /data/gitea
|
||||||
GODEBUG=netdns=go
|
ENV GODEBUG=netdns=go
|
||||||
|
|
||||||
VOLUME ["/data"]
|
VOLUME ["/data"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue