mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 23:02:41 +01:00
Reduce number of layer (#2078)
Somes layer are created and aren't usefull, so I compress this :)
This commit is contained in:
parent
935b40fd8e
commit
789188f13c
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
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"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue