From 4b23a0f4840831be1fb11b64a8809bc33a8012e1 Mon Sep 17 00:00:00 2001 From: Dreista Date: Sat, 16 Dec 2023 16:13:30 -0500 Subject: [PATCH] Use tini --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7decd19..7e0085a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,7 @@ RUN ln -s /bin/true /bin/systemctl \ && groupadd --force --system --gid $ATLAS_GID atlas \ && usermod -aG atlas atlas \ && apt-get update -y \ - && apt-get install -y libcap2-bin iproute2 openssh-client procps net-tools \ + && apt-get install -y libcap2-bin iproute2 openssh-client procps net-tools tini \ && dpkg -i /tmp/atlasswprobe-*.deb \ && apt-get install -fy \ && rm -rf /var/lib/apt/lists/* \ @@ -72,5 +72,5 @@ RUN chmod +x /usr/local/bin/* \ WORKDIR /var/atlas-probe VOLUME [ "/var/atlas-probe/etc", "/var/atlas-probe/status" ] -ENTRYPOINT [ "entrypoint.sh" ] +ENTRYPOINT [ "tini", "--", "entrypoint.sh" ] CMD [ "atlas" ]