-
Notifications
You must be signed in to change notification settings - Fork 138
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
GCC now required at runtime #185
Comments
Another project failing now at runtime because of a missing gcc
|
Same issue here with Alpine image |
Yes. GCC is now required by ethon 0.13.0 - see #166 |
Hi @Kjarrigan , |
This is an indirect "dependency" as ffi uses gcc for the FFI::ConstGenerator and I'm not aware that there is a way to disable it but feel free to open a MR with a proposal on how to adjust this to fit your needs. |
Downgrading |
@sullerandras @Kjarrigan @firefart you can use FFI master, and then install |
Forgive the potentially silly question but is this new FFI dependency not equivalent to |
Just trying to clarify things, the issue isn't GCC, but any compiler. This is commonly suggested by Docker image security guidelines https://sysdig.com/blog/dockerfile-best-practices/. Thanks! |
@i0rek could you please deploy a new ethon version - I just merged/reverted the problematic MR since this obviously is a problem for a lot of ethon/typhoeus users. I also created a new issue #192 as a reminder that his is something we eventually need to fix. |
Released ethon |
Everyone seems to be happy now. So closing. Will add a CHANGELOG entry soon-ish. |
I noticed an odd behaviour when upgrading ethon 0.12.0 to 0.13.0. Version 0.13.0 seems to require ffi >= 1.15.0 which seems to invoke GCC at runtime. As we are running inside a minimal alpine docker image there is no gcc available and I would rather not install it as a runtime dependency.
The following happens when invoking a rake task:
The text was updated successfully, but these errors were encountered: