Skip to content

Commit

Permalink
update mxpy and rustc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bbyalcinkaya committed Aug 25, 2023
1 parent 9fb67b8 commit 9b61d9d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

0 comments on commit 9b61d9d

Please sign in to comment.