File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ RUN ninja -C _build
13
13
RUN ninja -C _build install
14
14
15
15
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
16
- RUN $HOME/.cargo/bin/rustup toolchain install stable --profile minimal --allow-downgrade -c clippy -c rustfmt
17
- RUN $HOME/.cargo/bin/rustup toolchain install beta --profile minimal --allow-downgrade -c clippy -c rustfmt
18
- RUN $HOME/.cargo/bin/rustup toolchain install nightly --profile minimal --allow-downgrade -c clippy -c rustfmt
19
- RUN $HOME/.cargo/bin/rustup toolchain install 1.56.0 --profile minimal --allow-downgrade -c clippy -c rustfmt
16
+ ENV PATH="$HOME/.cargo/bin/:${PATH}"
17
+ RUN rustup toolchain install stable --profile minimal --allow-downgrade -c clippy -c rustfmt
18
+ RUN rustup toolchain install beta --profile minimal --allow-downgrade -c clippy -c rustfmt
19
+ RUN rustup toolchain install nightly --profile minimal --allow-downgrade -c clippy -c rustfmt
20
+ RUN rustup toolchain install 1.56.0 --profile minimal --allow-downgrade -c clippy -c rustfmt
20
21
21
- RUN $HOME/.cargo/bin/ rustup default stable
22
+ RUN rustup default stable
You can’t perform that action at this time.
0 commit comments