Skip to content

Commit

Permalink
Switch from tini to catatonit
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Aug 19, 2022
1 parent 476e686 commit 8cf7840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.m4
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ m4_ifdef([[CROSS_QEMU]], [[COPY --from=docker.io/hectorm/qemu-user-static:latest
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
catatonit \
net-tools \
netcat-openbsd \
procps \
Expand All @@ -97,7 +98,6 @@ RUN export DEBIAN_FRONTEND=noninteractive \
rlwrap \
runit \
samba \
tini \
&& rm -rf /var/lib/apt/lists/*

# Environment
Expand Down Expand Up @@ -132,7 +132,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 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
Expand Down

0 comments on commit 8cf7840

Please sign in to comment.