aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorLunny Xiao2017-06-30 14:10:37 +0800
committerBo-Yi Wu2017-06-30 01:10:37 -0500
commit8fd43f215c72ecfd175b4bae3ffb0b5e16170e6e (patch)
tree33f57065b8a7e756683c6367ab292ba94c64fc2b /Dockerfile
parent789188f13c93e47b8a758c379bd463f7c2792f13 (diff)
Revert "Reduce number of layer" (#2086)
This reverts commit 789188f13c93e47b8a758c379bd463f7c2792f13.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 745642d30..cc9ec311b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]