From 7f6b456ff84c5c9fa266edfa1e7b712589d2cf73 Mon Sep 17 00:00:00 2001 From: paspo Date: Tue, 5 Nov 2024 12:39:08 +0100 Subject: [PATCH] add tini support --- src/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index cceece7..fae1d30 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -15,7 +15,7 @@ COPY --from=BUILDER /usr/local/bin/barracudavpn /app/ RUN \ DEBIAN_FRONTEND=noninteractive apt update && \ - DEBIAN_FRONTEND=noninteractive apt install -y iproute2 gettext-base && \ + DEBIAN_FRONTEND=noninteractive apt install -y iproute2 gettext-base tini && \ rm -rf /var/lib/apt/lists/* COPY rootfs / @@ -23,4 +23,4 @@ COPY rootfs / HEALTHCHECK --interval=30s --start-period=30s --timeout=3s \ CMD /app/healthcheck.sh -ENTRYPOINT [ "/app/entrypoint.sh" ] +ENTRYPOINT [ "/usr/bin/tini-static", "--", "/app/entrypoint.sh" ]