-
Notifications
You must be signed in to change notification settings - Fork 66
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
corretto/java:8 missing libfreetype.so.6 #108
Comments
Hello, |
Hi, Yes I have tried doing that and in that case I am getting java.lang.NullPointerException. |
Can you share the full NPE when freetype is installed? |
I created a simple reproducer without the external dependencies and I had to run
Exception without Fontconfig and ttf-dejavu:
|
Yes this patch is working for me now. Although, I would like to have this library packaged in the standard image provided by the corretto. This is because let's say if I upgrade the image version in the future, i would have to manually make these patches through the Dockerfile. |
Closing this in lieu of feature request: #112 |
Describe the bug
The docker image corretto:8-alpine-jdk is being used to build a Maven Application and during the build process I am encountering an error that libfreetype.so.6 is missing. This library is being called by the Apache POI.
To Reproduce
Environment: Alpine / Java 8 / Spring boot 2.1.x
Jib a spring boot 2.1.x app that uses the autoSizeColumn feature of apache-poi and attempt to run the container on your local docker.
OR
Run the following Java Code Snippet:
Following dependencies would be required too:
Screenshots
Error Message

Lib Directory

Platform information
Additional context
Log output
The text was updated successfully, but these errors were encountered: