Skip to content

Commit 789188f

Browse files
Dryusdanlunny
Dryusdan
authored andcommitted
Reduce number of layer (#2078)
Somes layer are created and aren't usefull, so I compress this :)
1 parent 935b40f commit 789188f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN apk --no-cache add \
1313
s6 \
1414
curl \
1515
openssh \
16-
tzdata
17-
RUN addgroup \
16+
tzdata \
17+
&& addgroup \
1818
-S -g 1000 \
1919
git && \
2020
adduser \
@@ -26,9 +26,9 @@ RUN addgroup \
2626
git && \
2727
echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
2828

29-
ENV USER git
30-
ENV GITEA_CUSTOM /data/gitea
31-
ENV GODEBUG=netdns=go
29+
ENV USER git \
30+
GITEA_CUSTOM /data/gitea \
31+
GODEBUG=netdns=go
3232

3333
VOLUME ["/data"]
3434

0 commit comments

Comments
 (0)