File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
docker/wasm32-unknown-emscripten Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,17 @@ FROM ubuntu:19.04
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends \
5
5
ca-certificates \
6
+ g++ \
7
+ make \
8
+ file \
6
9
curl \
7
10
gcc \
8
11
git \
9
12
libc6-dev \
10
13
python \
14
+ cmake \
15
+ sudo \
16
+ gdb \
11
17
xz-utils
12
18
13
19
COPY emscripten.sh /
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ set -ex
15
15
source /emsdk-portable/emsdk_env.sh & > /dev/null
16
16
17
17
# emsdk-portable provides a node binary, but we need version 8 to run wasm
18
- export PATH=" /node-v8.0.0 -linux-x64/bin:$PATH "
18
+ export PATH=" /node-v12.3.1 -linux-x64/bin:$PATH "
19
19
20
20
exec " $@ "
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ curl --retry 5 -L https://s3.amazonaws.com/mozilla-games/emscripten/releases/ems
34
34
35
35
cd /emsdk-portable
36
36
./emsdk update
37
- hide_output ./emsdk install sdk-1.37.20 -64bit
38
- ./emsdk activate sdk-1.37.20 -64bit
37
+ hide_output ./emsdk install sdk-1.38.15 -64bit
38
+ ./emsdk activate sdk-1.38.15 -64bit
39
39
40
40
# Compile and cache libc
41
41
# shellcheck disable=SC1091
@@ -51,6 +51,6 @@ chmod a+rxw -R /emsdk-portable
51
51
52
52
# node 8 is required to run wasm
53
53
cd /
54
- curl --retry 5 -L https://nodejs.org/dist/v8.0.0 /node-v8.0.0 -linux-x64.tar.xz | \
54
+ curl --retry 5 -L https://nodejs.org/dist/v12.3.1 /node-v12.3.1 -linux-x64.tar.xz | \
55
55
tar -xJ
56
56
You can’t perform that action at this time.
0 commit comments