diff --git a/povray_wasm/Dockerfile b/povray_wasm/Dockerfile index d53a7cf..e897675 100644 --- a/povray_wasm/Dockerfile +++ b/povray_wasm/Dockerfile @@ -12,24 +12,14 @@ RUN DEBIAN_FRONTEND=noninteractive apt install -y bash \ automake \ make -RUN cd /opt && git clone https://github.com/boostorg/boost.git boost -RUN cd /opt/boost && git checkout tags/boost-1.37.0 -RUN cd /opt/boost && git submodule update --init --recursive +RUN cd /opt && wget https://github.com/boostorg/boost/archive/refs/tags/boost-1.37.0.tar.gz +RUN cd /opt && tar -xf boost-1.37.0.tar.gz -RUN mkdir -p /opt/libboost_build RUN mkdir -p /opt/libboost -RUN cd /opt/boost && ls -RUN cd /opt/boost && ./bootstrap.sh --with-libraries=system,date_time,filesystem,thread +RUN cd /opt/boost-1.37.0 && emconfigure ./configure --prefix=/opt/libboost -RUN cd /opt/boost && ./b2 -j4 toolset=emscripten \ - cflags="-s USE_PTHREADS=1" cxxflags="-s USE_PTHREADS=1" \ - --prefix=/opt/libboost \ - --build-dir=/opt/libboost_build \ - link=static \ - variant=release \ - threading=single \ - runtime-link=static +RUN cd /opt/boost-1.37.0 && emmake make install -j CPPFLAGS="-s USE_PTHREADS=1" cxxflags="-s USE_PTHREADS=1" WORKDIR /usr/src/