Try without prebuilt libraries
This commit is contained in:
parent
e867692717
commit
9dda8b333b
|
@ -2,16 +2,4 @@ FROM emscripten/emsdk:2.0.26
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt update
|
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 DEBIAN_FRONTEND=noninteractive apt install -y bash libz-dev libpng-dev libjpeg-dev libtiff-dev libopenexr-dev autoconf automake make libboost-all-dev
|
||||||
|
|
||||||
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
|
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue