build: install nightly and v1.74.1 directly in dockerfile
Switching test from 1.81.0 to 1.74.1 to match an MSRV that I actually use.
This commit is contained in:
parent
1a5bd83c1e
commit
856cce5c03
3 changed files with 7 additions and 37 deletions
10
Dockerfile
10
Dockerfile
|
@ -27,12 +27,14 @@ RUN cargo binstall -y \
|
|||
cargo-mutants@25.0 \
|
||||
release-plz@0.3
|
||||
|
||||
COPY update.sh /
|
||||
|
||||
# should be a no-op if the FROM line is up-to-date
|
||||
RUN /update.sh stable
|
||||
RUN rustup update stable && rustup component add --toolchain stable rustfmt clippy
|
||||
|
||||
RUN rustup install nightly && /update.sh nightly
|
||||
# install nightly
|
||||
RUN rustup install nightly && rustup component add --toolchain nightly rustfmt clippy
|
||||
|
||||
# install v1.74.1
|
||||
RUN rustup install 1.74.1 && rustup component add --toolchain 1.74.1 rustfmt clippy
|
||||
|
||||
COPY entrypoint.sh /
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue