Merge pull request #938 from nushell/jonathandturner-patch-1

Update docker to stable
This commit is contained in:
Jonathan Turner 2019-11-07 09:59:53 -08:00 committed by GitHub
commit 56dd0282f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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