diff --git a/browser-asmjs/Dockerfile b/browser-asmjs/Dockerfile index 7f705cc..3e51f8d 100644 --- a/browser-asmjs/Dockerfile +++ b/browser-asmjs/Dockerfile @@ -8,17 +8,17 @@ RUN curl -sL https://deb.nodesource.com/setup | bash - && \ nodejs \ python2.7 -ENV EMSCRIPTEN_VERSION 1.33.0 +ENV EMSCRIPTEN_VERSION 1.34.3 RUN cd /usr && \ curl -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | tar xz && \ cd ./emsdk_portable && \ ./emsdk update && \ - ./emsdk install -j$(nproc) --build=Release sdk-master-64bit && \ - ./emsdk activate --build=Release sdk-master-64bit && \ + ./emsdk install -j$(nproc) --build=Release sdk-tag-${EMSCRIPTEN_VERSION}-64bit && \ + ./emsdk activate --build=Release sdk-tag-${EMSCRIPTEN_VERSION}-64bit && \ find . -name "*.o" -exec rm {} \; && \ find . -name "*.a" -exec rm {} \; && \ find . -name "*.tmp" -exec rm {} \; -ENV PATH /usr/emsdk_portable:/usr/emsdk_portable/clang/fastcomp/build_master_64/bin:/usr/emsdk_portable/emscripten/master:${PATH} +ENV PATH /usr/emsdk_portable:/usr/emsdk_portable/clang/tag-e${EMSCRIPTEN_VERSION}/build_tag-e${EMSCRIPTEN_VERSION}_64/bin:/usr/emsdk_portable/emscripten/tag-${EMSCRIPTEN_VERSION}:${PATH} ENV CMAKE_TOOLCHAIN_FILE /usr/emsdk_portable/emscripten/master/cmake/Modules/Platform/Emscripten.cmake