From 9b61d9da3ac3c319ce0c0fb552ff86e310a618df Mon Sep 17 00:00:00 2001 From: Burak Bilge Yalcinkaya Date: Fri, 25 Aug 2023 16:07:04 +0300 Subject: [PATCH] update mxpy and rustc versions --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b5f7ef0..2cfe14cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,9 +31,6 @@ RUN groupadd -g $GROUP_ID $GROUP && useradd -m -u $USER_ID -s /bin/sh -g $GROUP USER $USER:$GROUP WORKDIR /home/$USER -RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2023-03-01 --target wasm32-unknown-unknown -ENV PATH=/home/$USER/.cargo/bin:$PATH - RUN python3 -m pip install --upgrade pip RUN git clone 'https://github.com/WebAssembly/wabt' --branch 1.0.13 --recurse-submodules wabt \ @@ -44,9 +41,9 @@ RUN git clone 'https://github.com/WebAssembly/wabt' --branch 1.0.13 --recurse && cmake --build . RUN wget -O mxpy-up.py https://raw.githubusercontent.com/multiversx/mx-sdk-py-cli/main/mxpy-up.py \ - && python3 mxpy-up.py --not-interactive + && python3 mxpy-up.py --exact-version 7.3.0 --not-interactive ENV PATH=/home/$USER/multiversx-sdk:/home/$USER/wabt/build:/home/$USER/.local/bin:$PATH -# Use a specific version of rustc installed via rustup -RUN mxpy config set dependencies.rust.resolution host +# Use a specific version of rustc +RUN mxpy deps install rust --tag nightly-2023-04-24 --overwrite