File tree Expand file tree Collapse file tree
packages/cli/src/lib/defaults/build-strategies/wasm/rust Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ RUN apk add curl pkgconfig openssl-dev bash
1111# Install clang
1212RUN apk add clang llvm build-base
1313
14+ # Install Node.js
15+ RUN apk add --no-cache nodejs npm
16+
1417# Install wasm-opt
15- RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
16- RUN nvm install 18 && nvm use 18
1718RUN npm i wasm-opt -g
1819
1920# Install wasm-snip
Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ RUN apk add curl pkgconfig openssl-dev bash
1111# Install clang
1212RUN apk add clang llvm build-base
1313
14+ # Install Node.js
15+ RUN apk add --no-cache nodejs npm
16+
1417# Install wasm-opt
15- RUN touch ~/.bashrc
16- RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash
17- RUN source ~/.bashrc
18- RUN nvm install 18 && nvm use 18
1918RUN npm i wasm-opt -g
2019
2120# Install wasm-snip
You can’t perform that action at this time.
0 commit comments