commit 6867056bd599c253aacbec43a0c75697e13e0da6 Author: arielherself Date: Mon Apr 8 12:36:13 2024 +0800 feat: all diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9c7616e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..ebda408 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# build-boost + +Integrate [Boost C++ Libraries](https://github.com/boostorg/boost) into a Debian docker. + +## Build + +```bash +docker build -t build-boost . +``` + +## Use + +```bash +docker pull arielherself/build-boost:1.85.0 +```