You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor so that we have more control over rust version
and can use never versions than installed through apt.
Recent updates to SWC for amaro required a very recent
version.
Signed-off-by: Michael Dawson <[email protected]>
RUN apk add -U rust rust-wasm cargo cmake gcc g++ bash make
33
+
RUN apk add -U curl rust-wasm cmake gcc g++ bash make
32
34
33
35
# capture the versions of the packages installed
34
36
RUN apk info -v >/home/node/metadata/apk-info
@@ -63,4 +65,11 @@ RUN echo "Binaryen-version: $BINARYEN_VERSION" >$METADATA_DIR/binaryen-info
63
65
RUN echo "Binaryen-url: https://github.com/WebAssembly/binaryen/releases/download/version_$BINARYEN_VERSION/binaryen-version_$BINARYEN_VERSION-$CURRENT_ARCH-linux.tar.gz" >>$METADATA_DIR/binaryen-info
64
66
RUN echo "Binaryen-binary: $WASM_OPT" >>$METADATA_DIR/binaryen-info
65
67
68
+
RUN chmod -R 777 $METADATA_DIR
66
69
USER node
70
+
71
+
# Install Rust
72
+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs >$METADATA_DIR/install_rust.sh
0 commit comments