Skip to content

Commit 6d65010

Browse files
authored
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.
1 parent 0776d78 commit 6d65010

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ USER $USER
2222

2323
# install Rust + musl target as dev user
2424
RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal && \
25-
~/.cargo/bin/rustup target add aarch64-unknown-linux-musl
25+
~/.cargo/bin/rustup target add aarch64-unknown-linux-musl && \
26+
~/.cargo/bin/rustup component add clippy rustfmt
2627

2728
ENV PATH="/home/${USER}/.cargo/bin:${PATH}"
2829

0 commit comments

Comments
 (0)