build-boost/Dockerfile

17 lines
535 B
Docker
Raw Normal View History

2024-04-08 12:36:13 +08:00
FROM debian:12.5
MAINTAINER arielherself
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update
2024-04-08 12:45:03 +08:00
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 -y
2024-04-08 12:36:13 +08:00
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