Skip to content

Commit

Permalink
Reduce number of layer (#2078)
Browse files Browse the repository at this point in the history
Somes layer are created and aren't usefull, so I compress this :)
  • Loading branch information
Dryusdan authored and lunny committed Jun 30, 2017
1 parent 935b40f commit 789188f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN apk --no-cache add \
s6 \
curl \
openssh \
tzdata
RUN addgroup \
tzdata \
&& addgroup \
-S -g 1000 \
git && \
adduser \
Expand All @@ -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"]

Expand Down

0 comments on commit 789188f

Please sign in to comment.