sptrakesh/boost
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 sptrakesh/boost