File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
ci/docker/wasm32-unknown-unknown Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:18.04 as node
2-
3- RUN apt-get update -y && apt-get install -y \
4- g++ \
5- git \
6- make \
7- python
8-
9-
10- # Install `node`
11- RUN git clone https://github.com/nodejs/node --depth 1
12- WORKDIR node
13- RUN ./configure --prefix=/node-install
14- RUN make -j$(nproc) install
15-
161FROM ubuntu:18.04
172
183RUN apt-get update -y && apt-get install -y --no-install-recommends \
@@ -31,8 +16,9 @@ RUN git clone --recursive https://github.com/WebAssembly/wabt
3116RUN make -C wabt -j$(nproc)
3217ENV PATH=$PATH:/wabt/bin
3318
34- COPY --from=node /node-install /
35- ENV PATH=$PATH:/node-install/bin
19+ # Install `node`
20+ RUN curl https://nodejs.org/dist/v12.0.0/node-v12.0.0-linux-x64.tar.xz | tar xJf -
21+ ENV PATH=$PATH:/node-v12.0.0-linux-x64/bin
3622
3723COPY docker/wasm32-unknown-unknown/wasm-entrypoint.sh /wasm-entrypoint.sh
3824ENTRYPOINT ["/wasm-entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments