Skip to content

Commit

Permalink
build: Add cargo-udeps to devctr
Browse files Browse the repository at this point in the history
From: Jonathan Woollett-Light <jcawl@amazon.co.uk>

Adds `cargo-udeps` and the Rust `nightly` toolchain to support it, to
dev container.

Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Co-authored-by: Patrick Roy <roypat@amazon.co.uk>
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
  • Loading branch information
Jonathan Woollett-Light and roypat committed Dec 9, 2024
1 parent de5cc1f commit b6b56d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/devctr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b6b56d2

Please sign in to comment.