Skip to content

Commit

Permalink
[full] Rust: Install minimal toolchain (e.g. without the HTML docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes committed Dec 17, 2020
1 parent e50b1b0 commit a96fb84
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,7 @@ LABEL dazzle/layer=lang-rust
LABEL dazzle/test=tests/lang-rust.yaml
USER gitpod
RUN cp /home/gitpod/.profile /home/gitpod/.profile_orig && \
curl -fsSL https://sh.rustup.rs | sh -s -- -y \
&& .cargo/bin/rustup toolchain install 1.48.0 \
&& .cargo/bin/rustup default 1.48.0 \
# Save image size by removing now-redudant stable toolchain
&& .cargo/bin/rustup toolchain uninstall stable \
curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.48.0 \
&& .cargo/bin/rustup component add \
rls \
rust-analysis \
Expand Down

0 comments on commit a96fb84

Please sign in to comment.