sptrakesh/boost

By sptrakesh

Updated 8 days ago

Alpine container with boost framework.

Image
0

3.3K

Alpine based container with boost framework installed.

Note: The gcc tag is built off the latest gcc base image.

FROM sptrakesh/cppbase as base
ENV BOOST_VERSION=1.77.0
WORKDIR /opt
RUN git clone --branch boost-${BOOST_VERSION} --recursive https://github.com/boostorg/boost.git

RUN cd boost \
  && ./bootstrap.sh \
  && ./b2 -j8 install link=static threading=multi runtime-link=static --prefix=/opt/local --without-python --without-mpi

RUN cd /opt/boost/tools/build \
  && ./bootstrap.sh \
  && ./b2 -j8 install link=static threading=multi runtime-link=static --prefix=/opt/local

FROM sptrakesh/cppbase
ENV BOOST_VERSION=1.77.0
MAINTAINER Rakesh Vidyadharan <rakesh@sptci.com>
WORKDIR /opt
COPY --from=base /opt/local local

Docker Pull Command

docker pull sptrakesh/boost