Skip to content
Snippets Groups Projects
Commit 516f3efc authored by gnzlbg's avatar gnzlbg
Browse files

update emscripten

parent 48193e89
No related branches found
No related tags found
Loading
......@@ -3,11 +3,17 @@ FROM ubuntu:19.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
g++ \
make \
file \
curl \
gcc \
git \
libc6-dev \
python \
cmake \
sudo \
gdb \
xz-utils
COPY emscripten.sh /
......
......@@ -15,6 +15,6 @@ set -ex
source /emsdk-portable/emsdk_env.sh &> /dev/null
# emsdk-portable provides a node binary, but we need version 8 to run wasm
export PATH="/node-v8.0.0-linux-x64/bin:$PATH"
export PATH="/node-v12.3.1-linux-x64/bin:$PATH"
exec "$@"
......@@ -34,8 +34,8 @@ curl --retry 5 -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/ems
cd /emsdk-portable
./emsdk update
hide_output ./emsdk install sdk-1.37.20-64bit
./emsdk activate sdk-1.37.20-64bit
hide_output ./emsdk install sdk-1.38.15-64bit
./emsdk activate sdk-1.38.15-64bit
# Compile and cache libc
# shellcheck disable=SC1091
......@@ -51,6 +51,6 @@ chmod a+rxw -R /emsdk-portable
# node 8 is required to run wasm
cd /
curl --retry 5 -L https://nodejs.org/dist/v8.0.0/node-v8.0.0-linux-x64.tar.xz | \
curl --retry 5 -L https://nodejs.org/dist/v12.3.1/node-v12.3.1-linux-x64.tar.xz | \
tar -xJ
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment