Skip to content

Commit 06dc8cc

Browse files
authored
Merge pull request #120 from clux/sparse
Use sparse registries
2 parents 680c2d1 + b9df7ef commit 06dc8cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ RUN apt-get update && apt-get install -y \
3838
# Install rust using rustup
3939
ARG CHANNEL
4040
ENV RUSTUP_VER="1.25.1" \
41-
RUST_ARCH="x86_64-unknown-linux-gnu"
41+
RUST_ARCH="x86_64-unknown-linux-gnu" \
42+
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
43+
4244
RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_ARCH}/rustup-init" -o rustup-init && \
4345
chmod +x rustup-init && \
4446
./rustup-init -y --default-toolchain ${CHANNEL} --profile minimal --no-modify-path && \

0 commit comments

Comments
 (0)