Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Dockerfile): use tini from package manager #2533

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member Author

@steebchen steebchen Oct 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copied to /tini instead of /usr/bin/tini for backwards-compatibility

ENTRYPOINT ["/tini", "--"]

ARG TARGETPLATFORM
Expand Down
Loading