Resolving problem with rustup in Dockerfile (#3456)

This commit is contained in:
Gerardo Junior 2019-05-29 16:46:40 -03:00 committed by Mihai PLESA
parent 11e8b170fd
commit 3c2d60d45b

View File

@ -19,9 +19,9 @@ RUN apt-get update && apt-get install -y \
RUN npm install -g node-gyp@3.3.1
RUN pip install Jinja2==2.8.1
RUN curl -sSf https://static.rust-lang.org/rustup.sh | sh
RUN cargo install sccache
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install sccache
RUN echo "sccache = /root/.cargo/bin/sccache" > /root/.npmrc
# BLB source code. Mount ./browser-laptop-bootstrap from the host to here.