Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 05abea6

Browse files
committedDec 9, 2020
[full] Rust: Install minimal toolchain (e.g. without the HTML docs)
Source: rust-lang/rustup#998 (comment)
1 parent dadb39f commit 05abea6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎full/Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,7 @@ LABEL dazzle/layer=lang-rust
247247
LABEL dazzle/test=tests/lang-rust.yaml
248248
USER gitpod
249249
RUN cp /home/gitpod/.profile /home/gitpod/.profile_orig && \
250-
curl -fsSL https://sh.rustup.rs | sh -s -- -y \
251-
&& .cargo/bin/rustup toolchain install 1.48.0 \
252-
&& .cargo/bin/rustup default 1.48.0 \
253-
# Save image size by removing now-redudant stable toolchain
254-
&& .cargo/bin/rustup toolchain uninstall stable \
250+
curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.48.0 \
255251
&& .cargo/bin/rustup component add \
256252
rls \
257253
rust-analysis \

0 commit comments

Comments
 (0)
Please sign in to comment.