emscripten_docker/povray_wasm/Dockerfile.build

27 lines
726 B
Docker

FROM emscripten/emsdk:latest
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