Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo binstall from binary #29

Open
vablings opened this issue May 9, 2024 · 3 comments
Open

Cargo binstall from binary #29

vablings opened this issue May 9, 2024 · 3 comments

Comments

@vablings
Copy link

vablings commented May 9, 2024

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.

@lee-orr
Copy link
Owner

lee-orr commented May 9, 2024

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.

@SRv6d
Copy link

SRv6d commented Aug 29, 2024

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?

@edorgeville
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants