Skip to content

Commit

Permalink
Merge pull request #3409 from reubenmiller/dev-container-use-bin-install
Browse files Browse the repository at this point in the history
dev: use cargo-bininstall to install additional rust tooling
  • Loading branch information
reubenmiller authored Feb 19, 2025
2 parents 83b65bd + e4dfe7d commit 8bc89d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& rustup component add rls rust-analysis rust-src rustfmt clippy \
&& rustup toolchain install nightly \
&& rustup component add rustfmt --toolchain nightly \
&& cargo install taplo-cli cargo-nextest
# Use cargo-bininstall to improve multi-arch builds
&& curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash \
&& cargo-binstall cargo-nextest --secure \
&& cargo-binstall taplo-cli --secure

# Persist bash history
USER root
Expand Down

0 comments on commit 8bc89d1

Please sign in to comment.