Cargo binstall from binary
An option for using a pre-compiled binstall binary would speed up container time
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
I have not opened a pull request because I am just getting started with containers.
We used to have that - but it was broken around 3-4 weeks ago, so I ended up removing it.
I'll keep the issue open until I can get it working again.
Somewhat ironically, when using this feature, devcontainer build times increase to several minutes for me, much longer than just building dependencies instead of using binstall. Is there an open cargo-binstall issue for the binary installation?
Current workaround is to lock the cargo-binstall feature to 0.1.0:
"ghcr.io/lee-orr/rusty-dev-containers/cargo-binstall:0.1.0": {},