This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ ARG REGISTRY_PATH=docker.io/paritytech
4
4
5
5
FROM ${REGISTRY_PATH}/base-ci-linux:latest
6
6
7
+ ARG RUST_NIGHTLY="2023-03-16"
8
+
7
9
# metadata
8
10
LABEL summary="Image for Substrate-based projects." \
9
11
name="${REGISTRY_PATH}/ci-linux" \
@@ -26,9 +28,9 @@ RUN set -eux && \
26
28
# install `rust-src` component for ui test
27
29
rustup component add rust-src rustfmt clippy && \
28
30
# 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 && \
32
34
# install wasm toolchain
33
35
rustup target add wasm32-unknown-unknown && \
34
36
rustup target add wasm32-unknown-unknown --toolchain nightly && \
You can’t perform that action at this time.
0 commit comments