From d5d38c5012b77a4260de1835652f555314bfdd52 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 17 Mar 2023 21:13:37 +0100 Subject: [PATCH 1/2] [wasm] Prime the cache --- src/ubuntu/18.04/webassembly-net8/Dockerfile | 1 + src/ubuntu/20.04/webassembly-net8/Dockerfile | 1 + .../ltsc2022/helix/webassembly-net8/Dockerfile | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ubuntu/18.04/webassembly-net8/Dockerfile b/src/ubuntu/18.04/webassembly-net8/Dockerfile index 84b37f973..abf9e34fd 100644 --- a/src/ubuntu/18.04/webassembly-net8/Dockerfile +++ b/src/ubuntu/18.04/webassembly-net8/Dockerfile @@ -34,6 +34,7 @@ RUN mkdir ${EMSCRIPTEN_PATH} \ && cd ${EMSDK_PATH} \ && ./emsdk install ${EMSCRIPTEN_VERSION}-upstream \ && ./emsdk activate ${EMSCRIPTEN_VERSION}-upstream \ + && ./upstream/emscripten/embuilder build MINIMAL \ && chmod -R 777 ${EMSCRIPTEN_PATH} # Install V8 Engine diff --git a/src/ubuntu/20.04/webassembly-net8/Dockerfile b/src/ubuntu/20.04/webassembly-net8/Dockerfile index 8c5c24751..b2edbea77 100644 --- a/src/ubuntu/20.04/webassembly-net8/Dockerfile +++ b/src/ubuntu/20.04/webassembly-net8/Dockerfile @@ -35,6 +35,7 @@ RUN mkdir ${EMSCRIPTEN_PATH} \ && cd ${EMSDK_PATH} \ && ./emsdk install ${EMSCRIPTEN_VERSION}-upstream \ && ./emsdk activate ${EMSCRIPTEN_VERSION}-upstream \ + && ./upstream/emscripten/embuilder build MINIMAL \ && chmod -R 777 ${EMSCRIPTEN_PATH} # Install V8 Engine diff --git a/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile b/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile index 73fcbcbe0..6bf48aa0e 100644 --- a/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile +++ b/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile @@ -33,7 +33,8 @@ RUN mkdir %EMSCRIPTEN_PATH% \ && git clone https://github.com/emscripten-core/emsdk.git %EMSDK_PATH% RUN cd %EMSDK_PATH% \ && .\emsdk install %EMSCRIPTEN_VERSION%-upstream \ - && .\emsdk activate %EMSCRIPTEN_VERSION%-upstream + && .\emsdk activate %EMSCRIPTEN_VERSION%-upstream \ + && ./upstream/emscripten/embuilder.bat build MINIMAL # install Node JS ENV NODE_VERSION 17.3.1 From 281041b264629e1d25fa1ed5f0a95804bb044bdd Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 17 Mar 2023 22:48:58 +0100 Subject: [PATCH 2/2] Use backslash separators --- .../ltsc2022/helix/webassembly-net8/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile b/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile index 6bf48aa0e..ca81717c9 100644 --- a/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile +++ b/src/windowsservercore/ltsc2022/helix/webassembly-net8/Dockerfile @@ -34,7 +34,7 @@ RUN mkdir %EMSCRIPTEN_PATH% \ RUN cd %EMSDK_PATH% \ && .\emsdk install %EMSCRIPTEN_VERSION%-upstream \ && .\emsdk activate %EMSCRIPTEN_VERSION%-upstream \ - && ./upstream/emscripten/embuilder.bat build MINIMAL + && .\upstream\emscripten\embuilder.bat build MINIMAL # install Node JS ENV NODE_VERSION 17.3.1