From 2a8e44db1dccc27c04c0c1c622bae77c06545cb9 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 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 80430b625c..7fa88ebd24 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,9 +16,7 @@ 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 +COPY --from=builder /usr/bin/tini /tini ENTRYPOINT ["/tini", "--"] ARG TARGETPLATFORM