Refine docker image tagging to avoid breaking stabilization branches on updates

This commit is contained in:
Michael Vines
2018-09-07 16:41:55 -07:00
parent 73a8441add
commit b1b03ec13b
6 changed files with 25 additions and 17 deletions

View File

@@ -1,10 +1,10 @@
FROM solanalabs/rust
ARG nightly=nightly-2018-09-03
ARG date
RUN set -x && \
rustup install $nightly && \
rustup default $nightly && \
rustup component add clippy-preview --toolchain=$nightly && \
rustup install nightly-$date && \
rustup default nightly-$date && \
rustup component add clippy-preview --toolchain=nightly-$date && \
rustc --version && \
cargo --version && \
cargo +$nightly install cargo-cov
cargo +nightly-$date install cargo-cov