@@ -4,11 +4,10 @@ ARG USERNAME=developer
44ARG USER_UID=1000
55ARG USER_GID=$USER_UID
66
7- ARG VERSION_MXPY="v9.4.1"
8- ARG VERSION_RUST="nightly-2023-12-11"
9- ARG VERSION_SC_META="0.47.1"
10- ARG VERSION_WASM_OPT="0.112.0"
11- ARG VERSION_VMTOOLS="v1.5.24"
7+ ARG VERSION_MXPY="v9.8.1"
8+ ARG VERSION_RUST="1.82.0"
9+ ARG VERSION_SC_META="0.54.0"
10+ ARG VERSION_WASM_OPT="0.116.1"
1211
1312# Create the user
1413RUN groupadd --gid $USER_GID $USERNAME \
@@ -37,7 +36,6 @@ WORKDIR /home/${USERNAME}
3736ENV MULTIVERSX="/home/${USERNAME}/multiversx-sdk"
3837ENV PATH="/home/${USERNAME}/.local/bin:${PATH}"
3938ENV PATH="/home/${USERNAME}/.cargo/bin:${PATH}"
40- ENV PATH="${MULTIVERSX}/vmtools:${PATH}"
4139
4240# Install pipx
4341RUN python3 -m pip install --no-cache-dir --user pipx
@@ -47,11 +45,9 @@ RUN pipx install multiversx-sdk-cli==${VERSION_MXPY}
4745
4846# Install rust and other tools
4947RUN mxpy config set "dependencies.rust.tag" ${VERSION_RUST} && \
50- mxpy config set "dependencies.sc-meta.tag" ${VERSION_SC_META} && \
51- mxpy config set "dependencies.wasm-opt.tag" ${VERSION_WASM_OPT} && \
52- mxpy config set "dependencies.vmtools.tag" ${VERSION_VMTOOLS}
48+ mxpy config set "dependencies.sc-meta.tag" ${VERSION_SC_META}
5349RUN mxpy deps install rust && rm -rf /home/${USERNAME}/.cargo/registry/* && rm -rf /home/${USERNAME}/.cargo/git/*
54- RUN mxpy deps install vmtools && rm ${MULTIVERSX}/*.tar.gz && sudo rm -rf ${MULTIVERSX}/golang
50+ RUN cargo install wasm-opt --version ${VERSION_WASM_OPT}
5551
5652# Install test wallets
5753RUN mxpy deps install testwallets && rm ${MULTIVERSX}/*.tar.gz
0 commit comments