From b6b56d282864971590bf80796c543cf302ab7305 Mon Sep 17 00:00:00 2001 From: Jonathan Woollett-Light Date: Wed, 4 Oct 2023 11:30:33 +0100 Subject: [PATCH] build: Add `cargo-udeps` to devctr From: Jonathan Woollett-Light Adds `cargo-udeps` and the Rust `nightly` toolchain to support it, to dev container. Signed-off-by: Jonathan Woollett-Light Co-authored-by: Patrick Roy Signed-off-by: Patrick Roy --- tools/devctr/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/devctr/Dockerfile b/tools/devctr/Dockerfile index 153b34fc6ee..9340c4c9c98 100644 --- a/tools/devctr/Dockerfile +++ b/tools/devctr/Dockerfile @@ -119,6 +119,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-too && NIGHTLY_TOOLCHAIN=$(rustup toolchain list | grep nightly | tr -d '\n') \ && rustup component add rust-src --toolchain "$NIGHTLY_TOOLCHAIN" \ && rustup target add "$ARCH"-unknown-linux-musl --toolchain "$NIGHTLY_TOOLCHAIN" \ + && cargo +"$NIGHTLY_TOOLCHAIN" install cargo-udeps \ \ && apt-get update \ && apt-get -y install --no-install-recommends \