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

feat(docker): add infinite-file-curtailer to image #2386

Merged
merged 2 commits into from
Sep 5, 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
20 changes: 19 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
FROM debian:bookworm-slim as builder

RUN apt-get update && apt install -y git libtool automake autoconf make

RUN git clone https://github.com/Comcast/Infinite-File-Curtailer.git curtailer \
&& cd curtailer \
&& libtoolize \
&& aclocal \
&& autoheader \
&& autoconf \
&& automake --add-missing \
&& ./configure \
&& make \
&& make install \
&& curtail --version
glihm marked this conversation as resolved.
Show resolved Hide resolved

FROM debian:bookworm-slim as base

ARG TARGETPLATFORM
Expand All @@ -11,6 +27,8 @@ COPY --from=artifacts $TARGETPLATFORM/katana /usr/local/bin/katana
COPY --from=artifacts $TARGETPLATFORM/sozo /usr/local/bin/sozo
COPY --from=artifacts $TARGETPLATFORM/torii /usr/local/bin/torii

COPY --from=builder /usr/local/bin/curtail /usr/local/bin/curtail

RUN chmod +x /usr/local/bin/katana \
&& chmod +x /usr/local/bin/sozo \
&& chmod +x /usr/local/bin/torii
&& chmod +x /usr/local/bin/torii
Loading