Sfoglia il codice sorgente

Add dumb-init to rootless docker (#21775)

Add dumb-init as process reaper to the rootless image to reap defunct git processes.
tags/v1.19.0-rc0
Michael Kriese 1 anno fa
parent
commit
84d2a820e5
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      Dockerfile.rootless

+ 2
- 1
Dockerfile.rootless Vedi File

@@ -31,6 +31,7 @@ EXPOSE 2222 3000
RUN apk --no-cache add \
bash \
ca-certificates \
dumb-init \
gettext \
git \
curl \
@@ -68,6 +69,6 @@ ENV HOME "/var/lib/gitea/git"
VOLUME ["/var/lib/gitea", "/etc/gitea"]
WORKDIR /var/lib/gitea

ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/docker-entrypoint.sh"]
CMD []


Loading…
Annulla
Salva