0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 09:04:45 +01:00

Revert "Reduce number of layer" (#2086)

This reverts commit 789188f13c.
This commit is contained in:
Lunny Xiao 2017-06-30 14:10:37 +08:00 committed by Bo-Yi Wu
parent 789188f13c
commit 8fd43f215c

View file

@ -13,8 +13,8 @@ RUN apk --no-cache add \
s6 \
curl \
openssh \
tzdata \
&& addgroup \
tzdata
RUN addgroup \
-S -g 1000 \
git && \
adduser \
@ -26,9 +26,9 @@ RUN apk --no-cache add \
git && \
echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
ENV USER git \
GITEA_CUSTOM /data/gitea \
GODEBUG=netdns=go
ENV USER git
ENV GITEA_CUSTOM /data/gitea
ENV GODEBUG=netdns=go
VOLUME ["/data"]