FROM debian:12.5 as builder MAINTAINER arielherself ENV DEBIAN_FRONTEND=noninteractive RUN apt update RUN apt install --no-install-recommends build-essential ca-certificates libssl-dev libzstd-dev liblzma-dev libbz2-dev libz-dev -y RUN apt clean RUN mkdir /boost_inst RUN mkdir /boost_target ADD ./boost /boost_inst WORKDIR /boost_inst RUN ./bootstrap.sh --prefix=/boost_target RUN ./b2 install -q WORKDIR / RUN rm -rf /boost_inst FROM debian:12.5 COPY --from=builder /boost_target/include/. /usr/local/include/ COPY --from=builder /boost_target/lib/. /usr/local/lib/