-
Notifications
You must be signed in to change notification settings - Fork 315
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
Provide binaries compatible with $(uname -m)
#92
Comments
Note that for |
Just make a case statement in your Dockerfile to translate Using |
Yes, this is what I end up doing. But it seems still a lot of code duplication to me since I am not using any templating system for my Dockerfiles (maybe I should consider it though).
Interesting, thank you! I guess I should try to find a rhel alternative to |
Hi!
gosu is not available as package on some distribution, RHEL7/8 for instance.
Would you consider providing the binary in a compatible way with
uname -m
, or maybe provide an example on how to pull the binary on non-debian OS (wheredpkg
is not available)?For instance dumb-init project that is widely used in Docker context provide them with a different naming and the following works and is pretty standard on Linux to determine architecture:
curl -sL "https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_$(uname -m)" >/usr/local/bin/dumb-init
Of course this should be a non-breaking change for people already relaying on the actual naming, I am not sure if GitHub provide something for that. So maybe documenting somewhere how to pull it form GH on non-debian OS is a good first step.
Cheers!
The text was updated successfully, but these errors were encountered: