Open susruth opened 1 month ago
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 musl
targets so far? I would like to help with it, having a bit of context would be helpful.
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