rusty-dev-containers icon indicating copy to clipboard operation
rusty-dev-containers copied to clipboard

Cargo binstall from binary

Open vablings opened this issue 1 year ago • 3 comments

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.

vablings avatar May 09 '24 11:05 vablings

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.

lee-orr avatar May 09 '24 12:05 lee-orr

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?

SRv6d avatar Aug 29 '24 19:08 SRv6d

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": {},

edorgeville avatar Jan 07 '25 15:01 edorgeville