Second attempt to remove rust-toolchain

This commit is contained in:
Jonathan Turner
2019-11-08 07:27:39 +13:00
parent 56dd0282f0
commit 1cca5557b1
3 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y libssl-dev \
ARG RELEASE=false
WORKDIR /code
COPY ./rust-toolchain ./rust-toolchain
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "1.39.0"
ENV PATH=/root/.cargo/bin:$PATH
COPY . /code
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \