diff --git a/package/web/Dockerfile b/package/web/Dockerfile index 2a941924..57307126 100644 --- a/package/web/Dockerfile +++ b/package/web/Dockerfile @@ -11,6 +11,10 @@ COPY env-helper.sh . # Source emsdk env variables when running the container ENTRYPOINT ["/home/env-helper.sh"] +# Install Boost sources +WORKDIR /home +RUN git clone --recurse-submodules --branch boost-1.87.0 https://github.com/boostorg/boost.git + # Install toolchain file & main packaging script COPY toolchain-host.cmake . COPY package.sh . diff --git a/package/web/package.sh b/package/web/package.sh index 3cdb20db..695fe547 100755 --- a/package/web/package.sh +++ b/package/web/package.sh @@ -19,6 +19,7 @@ emcmake cmake \ -DPSEMEK_PACKAGE_HOST=OFF \ -DPSEMEK_PACKAGE_TARGET=ON \ -DPSEMEK_STACKTRACE=OFF \ + -DBOOST_SOURCE_ROOT=/home/boost \ -DPSEMEK_PACKAGE_TOOLS_PATH=/home/tools \ -DPSEMEK_PACKAGE_COPY_FILES= \ -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH \