From 6867056bd599c253aacbec43a0c75697e13e0da6 Mon Sep 17 00:00:00 2001 From: arielherself Date: Mon, 8 Apr 2024 12:36:13 +0800 Subject: [PATCH] feat: all --- Dockerfile | 16 ++++++++++++++++ README.md | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md 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 +```