Commit b958f5c5 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

docker: install specific version of nightly

Some version don't have clippy working which is breaking CI.
parent a2f55713
FROM rustlang/rust:nightly-slim
FROM buildpack-deps:buster
ENV PATH=$PATH:/root/.local/bin
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/root/.local/bin:/usr/local/cargo/bin:$PATH
COPY prepare.sh /root/
......
......@@ -21,6 +21,25 @@ apt-get install -y --no-install-recommends \
gstreamer1.0-plugins-bad \
gstreamer1.0-libav
# Install Rust
RUSTUP_VERSION=1.21.0
RUST_VERSION="nightly-2019-12-19"
RUST_ARCH="x86_64-unknown-linux-gnu"
apt install -y wget
RUSTUP_URL=https://static.rust-lang.org/rustup/archive/$RUSTUP_VERSION/$RUST_ARCH/rustup-init
wget $RUSTUP_URL
apt remove -y wget
chmod +x rustup-init;
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION;
rm rustup-init;
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
rustup --version
cargo --version
rustc --version
pip3 install --user meson==0.52.1
curl -sL https://deb.nodesource.com/setup_12.x | bash -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment