14 lines
367 B
Docker
14 lines
367 B
Docker
FROM solanalabs/rust:1.56.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
|