From 6d65010aadf5bdeb36e3d1769a270646e1fa28bb Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 24 Jun 2025 17:05:36 -0700 Subject: [PATCH] chore: install clippy and rustfmt in the devcontainer for Linux development (#1374) I discovered it was difficult to do development in the devcontainer without these tools available. --- .devcontainer/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 259e59ab31..1304c2f9f3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -22,7 +22,8 @@ USER $USER # install Rust + musl target as dev user RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal && \ - ~/.cargo/bin/rustup target add aarch64-unknown-linux-musl + ~/.cargo/bin/rustup target add aarch64-unknown-linux-musl && \ + ~/.cargo/bin/rustup component add clippy rustfmt ENV PATH="/home/${USER}/.cargo/bin:${PATH}"