We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680c2d1 commit b9df7efCopy full SHA for b9df7ef
Dockerfile
@@ -38,7 +38,9 @@ RUN apt-get update && apt-get install -y \
38
# Install rust using rustup
39
ARG CHANNEL
40
ENV RUSTUP_VER="1.25.1" \
41
- RUST_ARCH="x86_64-unknown-linux-gnu"
+ RUST_ARCH="x86_64-unknown-linux-gnu" \
42
+ CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
43
+
44
RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_ARCH}/rustup-init" -o rustup-init && \
45
chmod +x rustup-init && \
46
./rustup-init -y --default-toolchain ${CHANNEL} --profile minimal --no-modify-path && \
0 commit comments