-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add Alpine support for Foundry binaries #8498
Comments
I think this is because Alpine uses MUSL whereas Foundry has a dependency on GLIBC A possible workaround is using the https://hub.docker.com/r/frolvlad/alpine-glibc/ image (see: https://github.com/foundry-rs/foundry/blob/master/Dockerfile) |
+1 on this, it would be very helpful to have it since it takes quite a bit to compile each crate; is there any kind of limitation behind the lack of |
@susruth @gnapoli23 we have this PR merged #8964 could you check if solves your issue? thank you |
Confirming that it's working for me now. BTW is there a reason why #8964 uses |
Hm, not sure if any deps on version. @DrakeEvans can you please chime in? |
going to close this one as it is confirmed working, pls open new ticket if other issues. Thank you! |
@gnapoli23 @grandizzy The initial build step was using alpine:3.18 ( Line 3 in e215f3f
|
Component
Forge, Cast, Anvil, Chisel
Describe the feature you would like
When attempting to run a Docker image that got build using Alpine, I encounter an error indicating that
anvil
is not found. However, using the same configuration with Ubuntu works as expected. Below are the respective Dockerfile configurations for both Alpine and Ubuntu.Alpine Dockerfile:
Ubuntu Dockerfile:
External file
cmd.sh
that might be required is:Error Output
Expected Behavior
The Alpine Docker image should build and run successfully, similar to the Ubuntu image.
Additional Information
latest
latest
nightly-62cdea8ff9e6efef011f77e295823b5f2dbeb3a1
Additional context
No response
The text was updated successfully, but these errors were encountered: