-
Notifications
You must be signed in to change notification settings - Fork 69
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
Not working on alpine linux #194
Comments
I'm not sure that this is an issue with |
still same issue, i don't know why this question is closed without resolution. The environment I provided also easy to replicate as just single docker run command shared in my first comment |
Sorry, I assumed this wasn't a problem with the Upon further inspection, alpine linux seems to require a static binary (not dynamically linked). This would require rust to be built with the Until |
Hi, I think it is a good idea to document your findings. I now also spent a few hours facing the same issue on a busybox container with the most recent version. Basically using the same method as OP. It is also not possible to pass it as argument to
edit: a workaround seems to be to just use the rust container image. |
Added a note with 10cea20. Thanks all! |
Hi! Just let you know that I'm making an attempt to package It already works on my machine after the build. If the MR gets merged, you can install the package directly from Alpine's |
Looks great, thanks @folliehiyuki! |
FYI - currently static executable builds without issues with x86_64-unknown-linux-musl target and rustc 1.77.0-nightly (only had to update proc-macro2 dependency to avoid the |
The linked Can this issue be revisited to support Alpine? |
I've now included a |
I tried installing this on a docker container, alpine linux.
docker run -it alpine:3.6
And ran below set of commands.
wget https://github.com/mike-engel/jwt-cli/releases/download/5.0.3/jwt-linux.tar.gz;tar -xvzf jwt-linux.tar.gz;rm -rf jwt-linux.tar.gz;mv jwt /usr/local/bin/
But, when I ran jwt, getting error as not found.
.usr/local/bin is already in system path.
Even from current working directory also same issue.
The text was updated successfully, but these errors were encountered: