-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Installer doesn't work on alpine/musl #1326
Comments
Thanks for the report! Ah ha -- so at the moment we don't actually have an installer script -- that command just untars a binary into the right spot. I think building out an installer script would be interesting. Though I'd want to hook it up to the release metadata we serve in releases.json. This would likely mean that the installer downloads a Rust binary -- which then fetches the release metadata and selects the right version for the platform. This is similar to how |
If i use the installer script for linux (
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
) on analpine
docker container, i get a glibc build instead of the musl build:To reproduce, start a docker container (in my case x86_64) with
docker run --rm -it alpine
and run the following commands in it:Output:
Running
/root/.cargo/bin/cargo-nextest
prints "not found".Compared with a musl binary:
The musl binary from the releases page does work, it seems it's only the installer not checking the platform:
Since the statically linked musl version also works on glibc systems, would it be possible to link the musl version under
https://get.nexte.st/latest/linux
instead of the glibc version?The text was updated successfully, but these errors were encountered: