-
Notifications
You must be signed in to change notification settings - Fork 37
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
The ruby post-install hook was not run for slim images #31
Comments
This is still not fixed (EDIT: my mistake, I confused this with the RPM issue). |
Slim and non-slim truffleruby Docker images for 22.3.0 now work on ol7 (uses /lib64/libssl.so.10), ol8 (uses /lib64/libssl.so.1.1), ol9 (uses /lib64/libssl.so.3), great! |
2cb1a08#diff-84f2742614cf3abb76ac4f64e9b684a87dfb410468d883020f867f141605bd63 is the fix (for The trade-off is that installs |
I filed #68 for the size increase. |
As we can see
https://github.com/graalvm/container/blob/952ceb4186763bd79c340b636adf89ca7267d2a5/truffleruby/Dockerfile.ol8-slim
doesn't run it, unlike
container/truffleruby/Dockerfile.ol8
Line 29 in 952ceb4
This then cause errors whenever the openssl gem is used, including just loading the gem.
Probably the easiest fix is to build the slim images from the non-slim images, and just don't copy the
lib/llvm-toolchain
.Alternatively, installing the necessary packages to run the post-install hook, run it and uninstalling these packages might be another way.
The text was updated successfully, but these errors were encountered: