From 1a0d2a0171d75b0830043f26fd8ff96ff1f123e2 Mon Sep 17 00:00:00 2001 From: steebchen Date: Mon, 14 Oct 2024 15:52:04 +0100 Subject: [PATCH] fix(Dockerfile): use tini from package manager Simplified Dockerfile by installing tini directly via package manager. Removed manual download and permission setting steps. --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80430b625c..b104bd0701 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM debian:bookworm-slim as builder -RUN apt-get update && apt install -y git libtool automake autoconf make +RUN apt-get update && apt install -y git libtool automake autoconf make tini RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \ && cd curtailer \ @@ -16,10 +16,9 @@ RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \ FROM debian:bookworm-slim as base -ENV TINI_VERSION v0.19.0 -ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini -RUN chmod +x /tini -ENTRYPOINT ["/tini", "--"] +ENTRYPOINT ["/usr/bin/tini", "--"] + +RUN /usr/bin/tini --version ARG TARGETPLATFORM