* Upgrade Rust to 1.52.0 update nightly_version to newly pushed docker image fix clippy lint errors 1.52 comes with grcov 0.8.0, include this version to script * upgrade to Rust 1.52.1 * disabling Serum from downstream projects until it is upgraded to Rust 1.52.1
14 lines
367 B
Docker
14 lines
367 B
Docker
FROM solanalabs/rust:1.52.1
|
|
ARG date
|
|
|
|
RUN set -x \
|
|
&& rustup install nightly-$date \
|
|
&& rustup component add clippy --toolchain=nightly-$date \
|
|
&& rustup component add rustfmt --toolchain=nightly-$date \
|
|
&& rustup show \
|
|
&& rustc --version \
|
|
&& cargo --version \
|
|
&& cargo install grcov \
|
|
&& rustc +nightly-$date --version \
|
|
&& cargo +nightly-$date --version
|