add tini support
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2024-11-05 12:39:08 +01:00
parent f4119771e1
commit 7f6b456ff8
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -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" ]