Skip to content

Commit

Permalink
Add back Emscripten install for net8.0 wasm image (#1271)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbomer authored Nov 28, 2024
1 parent 9d37d84 commit c2090d3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/azurelinux/3.0/net8.0/webassembly/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ RUN tdnf update -y \
# WebAssembly build needs typescript
RUN npm i -g typescript

# Install Emscripten toolchain
ENV EMSCRIPTEN_VERSION=3.1.34
ENV EMSCRIPTEN_PATH=/usr/local/emscripten
ENV EMSDK_PATH=/usr/local/emscripten/emsdk

RUN mkdir ${EMSCRIPTEN_PATH} \
&& cd ${EMSCRIPTEN_PATH} \
&& git clone https://github.com/emscripten-core/emsdk.git ${EMSDK_PATH} \
&& cd ${EMSDK_PATH} \
&& git checkout ${EMSCRIPTEN_VERSION} \
&& ./emsdk install ${EMSCRIPTEN_VERSION}-upstream \
&& ./emsdk activate ${EMSCRIPTEN_VERSION}-upstream \
&& chmod -R 777 ${EMSCRIPTEN_PATH}

# Install V8 Engine
SHELL ["/bin/bash", "-c"]

Expand Down

0 comments on commit c2090d3

Please sign in to comment.