install-rust.sh: Remove rust-docs from the install

We don't make use use of the html documentation in
the ci image, so it only takes space.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7816>
This commit is contained in:
Jordan Petridis 2025-04-01 11:53:13 +03:00 committed by GStreamer Marge Bot
parent f9cd0f0d9b
commit 2aa7dcd715
2 changed files with 5 additions and 2 deletions

View File

@ -5,9 +5,9 @@ variables:
# If you are hacking on them or need a them to rebuild, its enough
# to change any part of the string of the image you want.
###
FEDORA_TAG: '2025-04-05.0'
FEDORA_TAG: '2025-04-12.0'
DEBIAN_TAG: '2025-04-05.0'
DEBIAN_TAG: '2025-04-12.0'
CHECKS_TAG: '2025-02-04.0'

View File

@ -22,6 +22,9 @@ rm rustup-init;
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
cargo install --locked cargo-c --version 0.10.12+cargo-0.87.0
# We don't need them in the build image and they occupy
# 600mb of html files (athough they compress extremely well)
rustup component remove rust-docs
rustup --version
cargo --version