File tree Expand file tree Collapse file tree
resources/smart-contracts-rust Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ ARG USER_GID=$USER_UID
66
77ARG VERSION_MXPY="v11.1.1"
88ARG VERSION_RUST="1.86.0"
9- ARG VERSION_SC_META="0.59.0"
10- ARG VERSION_WASM_OPT="0.116.1"
9+ ARG VERSION_SC_META="0.62.0"
1110
1211# Create the user
1312RUN groupadd --gid $USER_GID $USERNAME \
@@ -49,17 +48,12 @@ RUN wget -O rustup.sh https://sh.rustup.rs && \
4948 CARGO_HOME=/home/${USERNAME}/.cargo RUSTUP_HOME=/home/${USERNAME}/.rustup ./rustup.sh --verbose --default-toolchain ${VERSION_RUST} --profile minimal -y && \
5049 rm rustup.sh
5150
52- # Install sc-meta tool
51+ # Install sc-meta tools
5352RUN CARGO_HOME=/home/${USERNAME}/.cargo RUSTUP_HOME=/home/${USERNAME}/.rustup PATH="/home/${USERNAME}/.cargo/bin:${PATH}" \
5453 cargo install multiversx-sc-meta --version ${VERSION_SC_META} --locked
5554
56- # Install wasm32 target
5755RUN CARGO_HOME=/home/${USERNAME}/.cargo RUSTUP_HOME=/home/${USERNAME}/.rustup PATH="/home/${USERNAME}/.cargo/bin:${PATH}" \
58- sc-meta install wasm32
59-
60- # Install wasm-opt
61- RUN CARGO_HOME=/home/${USERNAME}/.cargo RUSTUP_HOME=/home/${USERNAME}/.rustup PATH="/home/${USERNAME}/.cargo/bin:${PATH}" \
62- cargo install wasm-opt --version ${VERSION_WASM_OPT} --locked
56+ sc-meta install all
6357
6458# Install test wallets
6559RUN mxpy deps install testwallets && rm ${MULTIVERSX}/*.tar.gz
You can’t perform that action at this time.
0 commit comments