Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit aa92f71

Browse files
author
Mira Ressel
authored
Merge pull request #529 from paritytech/mira/ci-linux-nightly
ci-linux: Bump rust nightly to 2023-03-16
2 parents c9d58e6 + 744e67b commit aa92f71

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dockerfiles/ci-linux/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ ARG REGISTRY_PATH=docker.io/paritytech
44

55
FROM ${REGISTRY_PATH}/base-ci-linux:latest
66

7+
ARG RUST_NIGHTLY="2023-03-16"
8+
79
# metadata
810
LABEL summary="Image for Substrate-based projects." \
911
name="${REGISTRY_PATH}/ci-linux" \
@@ -26,9 +28,9 @@ RUN set -eux && \
2628
# install `rust-src` component for ui test
2729
rustup component add rust-src rustfmt clippy && \
2830
# install specific Rust nightly, default is stable, use minimum components
29-
rustup toolchain install nightly-2022-11-16 --profile minimal --component rustfmt clippy && \
30-
# "alias" pinned nightly-2022-11-16 toolchain as nightly
31-
ln -s /usr/local/rustup/toolchains/nightly-2022-11-16-x86_64-unknown-linux-gnu /usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu && \
31+
rustup toolchain install "nightly-${RUST_NIGHTLY}" --profile minimal --component rustfmt clippy && \
32+
# "alias" pinned nightly toolchain as nightly
33+
ln -s "/usr/local/rustup/toolchains/nightly-${RUST_NIGHTLY}-x86_64-unknown-linux-gnu" /usr/local/rustup/toolchains/nightly-x86_64-unknown-linux-gnu && \
3234
# install wasm toolchain
3335
rustup target add wasm32-unknown-unknown && \
3436
rustup target add wasm32-unknown-unknown --toolchain nightly && \

0 commit comments

Comments
 (0)