diff --git a/Dockerfile b/Dockerfile index 51b2b9d22d9303ea3ee4bd276c33c8ce9867d95a..9665478695f5cf61d418bb99c6f0973b1e5fdcb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,18 @@ -FROM rust +FROM debian:jessie MAINTAINER elois <elois@ifee.fr> -LABEL version="1.33.0" +LABEL version="1.33.2" LABEL description="CI for DURS project (Divende Universel RuSt)" RUN apt-get update && \ apt-get install -y build-essential curl python-pip pkg-config libssl-dev sudo tar zip && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# install rustup +RUN curl https://sh.rustup.rs -sSf | sh -s -- -y + +# rustup directory +ENV PATH /root/.cargo/bin:$PATH + # Install fmt and clippy RUN rustup component add rustfmt-preview