From 789188f13c93e47b8a758c379bd463f7c2792f13 Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Fri, 30 Jun 2017 02:58:57 +0200 Subject: [PATCH] Reduce number of layer (#2078) Somes layer are created and aren't usefull, so I compress this :) --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc9ec311be5..745642d3099 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,8 @@ RUN apk --no-cache add \ s6 \ curl \ openssh \ - tzdata -RUN addgroup \ + tzdata \ + && addgroup \ -S -g 1000 \ git && \ adduser \ @@ -26,9 +26,9 @@ RUN addgroup \ git && \ echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd -ENV USER git -ENV GITEA_CUSTOM /data/gitea -ENV GODEBUG=netdns=go +ENV USER git \ + GITEA_CUSTOM /data/gitea \ + GODEBUG=netdns=go VOLUME ["/data"]