Nightly image now derives from stable image
This commit is contained in:
@ -1,9 +1,8 @@
|
|||||||
FROM rustlang/rust:nightly
|
FROM solanalabs/rust
|
||||||
|
|
||||||
RUN rustup component add clippy-preview --toolchain=nightly && \
|
RUN set -x && \
|
||||||
echo deb http://ftp.debian.org/debian stretch-backports main >> /etc/apt/sources.list && \
|
rustup install nightly && \
|
||||||
apt update && \
|
rustup default nightly && \
|
||||||
apt install -y \
|
rustup component add clippy-preview --toolchain=nightly && \
|
||||||
llvm-6.0 \
|
rustc --version && \
|
||||||
&& \
|
cargo --version
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
@ -1,15 +1,19 @@
|
|||||||
FROM rust:1.28
|
FROM rust:1.28
|
||||||
|
|
||||||
RUN apt update && \
|
RUN set -x &&
|
||||||
|
apt update && \
|
||||||
apt-get install apt-transport-https && \
|
apt-get install apt-transport-https && \
|
||||||
echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list && \
|
echo deb https://apt.buildkite.com/buildkite-agent stable main > /etc/apt/sources.list.d/buildkite-agent.list && \
|
||||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 && \
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 32A37959C2FA5C3C99EFBC32A79206696452D198 && \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install -y \
|
apt install -y \
|
||||||
buildkite-agent \
|
buildkite-agent \
|
||||||
|
cmake \
|
||||||
|
llvm-6.0 \
|
||||||
rsync \
|
rsync \
|
||||||
sudo \
|
sudo \
|
||||||
cmake \
|
|
||||||
&& \
|
&& \
|
||||||
rustup component add rustfmt-preview && \
|
rustup component add rustfmt-preview && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
|
rustc --version && \
|
||||||
|
cargo --version
|
||||||
|
Reference in New Issue
Block a user