Nightly image now derives from stable image

This commit is contained in:
Michael Vines
2018-08-19 08:38:22 -07:00
parent 133ddb11ff
commit d3523ebbe5
2 changed files with 14 additions and 11 deletions

View File

@ -1,9 +1,8 @@
FROM rustlang/rust:nightly
FROM solanalabs/rust
RUN rustup component add clippy-preview --toolchain=nightly && \
echo deb http://ftp.debian.org/debian stretch-backports main >> /etc/apt/sources.list && \
apt update && \
apt install -y \
llvm-6.0 \
&& \
rm -rf /var/lib/apt/lists/*
RUN set -x && \
rustup install nightly && \
rustup default nightly && \
rustup component add clippy-preview --toolchain=nightly && \
rustc --version && \
cargo --version