Switch from tini to catatonit

This commit is contained in:
Héctor Molinero Fernández 2022-08-19 14:43:40 +02:00
parent 5ce4479549
commit 40e20bd753

View File

@ -99,6 +99,7 @@ m4_ifdef([[CROSS_QEMU]], [[COPY --from=docker.io/hectorm/qemu-user-static:latest
RUN export DEBIAN_FRONTEND=noninteractive \ RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \ && apt-get update \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
catatonit \
net-tools \ net-tools \
netcat-openbsd \ netcat-openbsd \
procps \ procps \
@ -108,7 +109,6 @@ RUN export DEBIAN_FRONTEND=noninteractive \
rlwrap \ rlwrap \
runit \ runit \
samba \ samba \
tini \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*


# Environment # Environment
@ -143,7 +143,7 @@ COPY --chown=root:root ./scripts/bin/ /usr/local/bin/
RUN find /usr/local/bin/ -type d -not -perm 0755 -exec chmod 0755 '{}' ';' RUN find /usr/local/bin/ -type d -not -perm 0755 -exec chmod 0755 '{}' ';'
RUN find /usr/local/bin/ -type f -not -perm 0755 -exec chmod 0755 '{}' ';' RUN find /usr/local/bin/ -type f -not -perm 0755 -exec chmod 0755 '{}' ';'


ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/container-init"] ENTRYPOINT ["/usr/bin/catatonit", "--", "/usr/local/bin/container-init"]


################################################## ##################################################
## "test" stage ## "test" stage