FROM emscripten/emsdk:2.0.26 RUN DEBIAN_FRONTEND=noninteractive apt update RUN DEBIAN_FRONTEND=noninteractive apt install -y bash libz-dev libpng-dev libjpeg-dev libtiff-dev libopenexr-dev autoconf automake make RUN cd /opt && git clone --recursive https://github.com/boostorg/boost.git RUN echo "using emscripten : : em++ ;" > ~/user-config.jam RUN mkdir -p /opt/libboost_build RUN mkdir -p /opt/libboost RUN cd /opt/boost && ./bootstrap.sh --with-libraries=all --with-toolset=emscripten RUN cd /opt/boost && ./b2 -j4 toolset=emscripten --test-config=/opt/user-config.jam --prefix=/opt/libboost --build-dir=/opt/libboost_build link=static variant=release address-model=64 architecture=x86