fix: Add tini to prevent zombie procs
gitea/printnatura/pipeline/head There was a failure building this commit
Details
gitea/printnatura/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
ec798d6363
commit
0a044ccb22
|
@ -21,6 +21,11 @@ COPY ctzcls-cups_1.1.0-2_amd64.deb /tmp/
|
||||||
RUN chmod a+x /tmp/ctzcls-cups_1.1.0-2_amd64.deb \
|
RUN chmod a+x /tmp/ctzcls-cups_1.1.0-2_amd64.deb \
|
||||||
&& dpkg -i /tmp/ctzcls-cups_1.1.0-2_amd64.deb
|
&& dpkg -i /tmp/ctzcls-cups_1.1.0-2_amd64.deb
|
||||||
|
|
||||||
|
# Fix defunct processeses: https://github.com/jenkinsci/docker-inbound-agent/issues/51
|
||||||
|
ENV TINI_VERSION v0.19.0
|
||||||
|
RUN wget -O /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini \
|
||||||
|
&& chmod 755 /tini
|
||||||
|
|
||||||
# Printnatura
|
# Printnatura
|
||||||
|
|
||||||
WORKDIR /printnatura
|
WORKDIR /printnatura
|
||||||
|
@ -40,5 +45,5 @@ COPY \
|
||||||
./
|
./
|
||||||
COPY sql sql
|
COPY sql sql
|
||||||
|
|
||||||
ENTRYPOINT ["/printnatura/entrypoint.sh"]
|
ENTRYPOINT ["/tini", "--", "/printnatura/entrypoint.sh"]
|
||||||
CMD ["node", "main.js"]
|
CMD ["node", "main.js"]
|
||||||
|
|
Loading…
Reference in New Issue