Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: install clippy and rustfmt in the devcontainer for Linux development (#1374)

Michael Bolin6d65010aadf5
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}"