Skip to content

Commit

Permalink
fix(Dockerfile): use tini from package manager
Browse files Browse the repository at this point in the history
Simplified Dockerfile by installing tini directly
via package manager. Removed manual download and
permission setting steps.
  • Loading branch information
steebchen committed Oct 14, 2024
1 parent 7035d54 commit 2a8e44d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit 2a8e44d

Please sign in to comment.