Comments (12)
Update on this. We are currently testing a fix and we've added the extra version number so package managers & docker image managers should upgrade naturally from the broken package. Given we got this wrong the first time we'll be spending extra in our QA steps!
from openjdk-docker.
+1
from openjdk-docker.
Hello
Had exactly the same issue yesterday as @czechdude.
Today, I created a new image and now getting an other error:
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/msopenjdk-17-amd64/lib/libfontmanager.so: libfreetype.so: cannot open shared object file: No such file or directory
I quickly tested with a different image (eclipse-temurin:17-jdk-alpine) and that seems to work fine.
Please provide the fix asap.
Thank you!
from openjdk-docker.
I have a similar problem. It seems the $JAVA_HOME/lib/security/cacerts is pointing to a non-existent file:
ls -lah $JAVA_HOME/lib/security/cacerts
lrwxrwxrwx 1 root root 31 Jul 19 22:19 /usr/lib/jvm/msopenjdk-11/lib/security/cacerts -> /etc/ssl/certs/adoptium/cacerts
ls -lah /etc/ssl/certs/adoptium/cacerts
ls: cannot access '/etc/ssl/certs/adoptium/cacerts': No such file or directory
from openjdk-docker.
+1
from openjdk-docker.
CC @d3r3kk - Can you check if the 17 packages were also respun with the std cacerts dependency and replaced? Recommend adding an extra version number at the end (so that package managers will auto update).
from openjdk-docker.
+1
from openjdk-docker.
Similar issue facing with mcr.microsoft.com/openjdk/jdk:11-ubuntu
- bash [./gradlew]
Downloading https://services.gradle.org/distributions/gradle-7.5.1-bin.zip
Exception in thread "main" javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133)
Please provide the fix asap.
Thank you!
from openjdk-docker.
@jegrz can you help us determine the source of your error by please letting us know what you are running in your container?
I checked the default 17-ubuntu
container just now and libfreetype6
is indeed installed:
root@cfbce9114191:/# dpkg-query -W libfreetype6
libfreetype6:amd64 2.10.1-2ubuntu0.3
from openjdk-docker.
from openjdk-docker.
Hi folks, the packages and container images have been updated so the cacerts issue is resolved. I'll split out the freetype discussion into a separate issue.
from openjdk-docker.
@jegrz - I've moved the freetype issue and related comments to #75
from openjdk-docker.
Related Issues (20)
- RPM Package for 17 not updating automatically
- Provide regular updates of Docker images (was: CVE's CBL-Mariner) HOT 8
- Include test to check all images have CDS enabled
- Build more often, fix security issues HOT 6
- Remove src.zip from final images
- Staging directory in Distroless build not cleaned up correctly HOT 1
- Add instructions on how to include font-config package to Distroless HOT 9
- Publish AArch64 (Arm64) container images HOT 3
- USER option not working HOT 2
- Slow startup times when using distroless base-image HOT 11
- Allow consumers to run apps as non-root users HOT 1
- Upgrade Ubuntu images to 22.04
- Add documentation about non-root user HOT 1
- Rename repository to openjdk-containers
- /usr/lib/jvm/msopenjdk-17-amd64/lib/libfontmanager.so: libfreetype.so: cannot open shared object file: No such file or directory HOT 10
- libfreetype.so is missing in /usr/lib/jvm/msopenjdk-17-arm64/lib (arm64 - not amd64) HOT 3
- Add distroless debug HOT 1
- Wrong base image for Ubuntu images HOT 3
- Locale definitions are missing in distroless images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openjdk-docker.