Skip to content

Commit

Permalink
[wasm] Prime the emscripten cache (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
radekdoulik authored Mar 19, 2023
1 parent 130a391 commit 80fdceb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ubuntu/18.04/webassembly-net8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/ubuntu/20.04/webassembly-net8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80fdceb

Please sign in to comment.