build-boost/Dockerfile

17 lines
545 B
Docker

FROM debian:12.5
MAINTAINER arielherself
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update
RUN apt install git build-essential software-properties-common autoconf automake libtool pkg-config ca-certificates libssl-dev locales locales-all libzstd-dev liblzma-dev libbz2-dev libz-dev libpq-dev -y
RUN apt clean
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN git clone "https://github.com/boostorg/boost" /boost_inst --recursive
WORKDIR /boost_inst
RUN ./bootstrap.sh
RUN ./b2 install -q
WORKDIR /
RUN rm -rf /boost_inst