Skip to content

Commit

Permalink
[wasm] Install latest LTS npm/node for codespaces (#86767)
Browse files Browse the repository at this point in the history
* [wasm] Install latest LTS npm/node for codespaces

* Fix docker build
  • Loading branch information
radekdoulik authored May 25, 2023
1 parent 86ce145 commit 1a60933
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .devcontainer/wasm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
zlib1g-dev \
ninja-build

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

# Install LTS npm and node
RUN source /usr/local/share/nvm/nvm.sh && nvm install --lts

# Install V8 Engine
RUN curl -sSL "https://netcorenativeassets.blob.core.windows.net/resource-packages/external/linux/chromium-v8/v8-linux64-rel-8.5.183.zip" -o ./v8.zip \
&& unzip ./v8.zip -d /usr/local/v8 \
&& echo $'#!/usr/bin/env bash\n\
Expand Down

0 comments on commit 1a60933

Please sign in to comment.