File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,13 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
8989 && pip3 install --upgrade pip --break-system-packages \
9090 #
9191 # Delete the dummy systemctl command added by the base image
92- && rm -f /usr/local/bin/systemctl
92+ && rm -f /usr/local/bin/systemctl \
93+ #
94+ # Install rust tools
95+ && rustup component add rls rust-analysis rust-src rustfmt clippy \
96+ && rustup toolchain install nightly \
97+ && rustup component add rustfmt --toolchain nightly \
98+ && cargo install taplo-cli cargo-nextest
9399
94100# Persist bash history
95101USER root
Original file line number Diff line number Diff line change 7171 ]
7272 }
7373 },
74- "postCreateCommand" : " git config --global --add safe.directory ${containerWorkspaceFolder} && rustup component add rls rust-analysis rust-src rustfmt clippy " ,
74+ "postCreateCommand" : " git config --global --add safe.directory ${containerWorkspaceFolder}" ,
7575
7676 // Use root as there are some issues with cross using the docker commands in some environments (e.g. colima on MacOs)
7777 "remoteUser" : " root"
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ default:
4646
4747# Install necessary tools
4848install-tools :
49+ rustup component add rls rust-analysis rust-src rustfmt clippy
50+ rustup toolchain install nightly
4951 rustup component add rustfmt --toolchain nightly
5052 cargo install taplo-cli cargo-nextest
5153
You can’t perform that action at this time.
0 commit comments