Comments (5)
after add RUN apk add --no-cache fontconfig ttf-dejavu && /usr/glibc/sbin/ldconfig.
there is error:
`[error occurred during error reporting ((null)), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing fatal error message), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing type of error), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing exception/signal name), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing current thread and pid), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing error message), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing Java version string), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing core file information), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing bug submit message), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing summary), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing VM option summary), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing summary machine and OS info), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing date and time), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing thread), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing current thread), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing current compile task), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing stack bounds), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing native stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing Java stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing target Java thread stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing siginfo), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (CDS archive access warning), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing register info), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (inspecting top of stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing code blob if possible), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing VM operation), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing process), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing user info), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[error occurred during error reporting (printing all threads), id 0xb, SIGSEGV (0xb) at pc=0x00007f162879acf4]
[Too many errors, abort]
[Too many errors, abort]
`
my dockerfile
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
COPY ./target/test-1.0-SNAPSHOT.jar test-1.0-SNAPSHOT.jar
RUN apk add fontconfig ttf-dejavu && /usr/glibc/sbin/ldconfig
ENTRYPOINT ["java","-jar","test-1.0-SNAPSHOT.jar"]
Work only after change base image:
FROM bellsoft/liberica-openjdk-debian:11.0.13-8
COPY ./target/test-1.0-SNAPSHOT.jar test-1.0-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","test-1.0-SNAPSHOT.jar"]
from liberica.
Hi,
liberica-openjdk-alpine is a glibc-based image, therefore, every time you're adding smth using apk
you have to run /usr/glibc/sbin/ldconfig manually.
Please try adding the following lines into your Dockerfile:
RUN apk add --no-cache fontconfig ttf-dejavu && /usr/glibc/sbin/ldconfig
from liberica.
When adding native Alpine Linux packages using apk it's important to keep in mind that Liberica JDK within this image is glibc-based. Thus it's required to run /usr/glibc/sbin/ldconfig manually after adding any system packages. This includes adding apk packages in Dockerfile directly. For example:
RUN apk add --no-cache fontconfig ttf-dejavu && /usr/glibc/sbin/ldconfig
from liberica.
@kpy3no hi! have you found how to fix it with alpine image?
from liberica.
@den1ska could you please help? what is the reason of
[Too many errors, abort]
?
from liberica.
Related Issues (20)
- cannot be opened because the developer cannot be verified HOT 4
- Alpine image causes core dump. HOT 1
- JDK crushed during unit test under IDEA
- ARM M2: JavaFX crashes when second scene opened. HOT 2
- Fix CVE-2023-2650 in Alpine Docker images HOT 3
- Upgrade to Alpine 3.18.2 to address OpenSSL CVEs HOT 2
- libprism_es2.so: undefined symbol: glXQueryExtension HOT 3
- Add curl in liberica-runtime-container image HOT 3
- Upgrade liberica-openjdk-alpine:20 to Alpine 3.18.3 to address OpenSSL CVEs HOT 3
- Buildpacks with Java 21 HOT 3
- Release 21.0.1+15 HOT 2
- Question HOT 2
- Upgrade liberica-openjdk-alpine:21 to Alpine 3.18.5 to address OpenSSL CVEs HOT 4
- apk missing in images HOT 2
- Upgrade liberica-openjdk-alpine:21 to Alpine 3.19.1 to address OpenSSL CVEs HOT 4
- Crash when using native library embedded in a jar. HOT 2
- [FR] For slim images remove docs, mans and other irrelevant files HOT 2
- Status of ParallelGC HOT 1
- API: Java 22 release marked as EOL HOT 1
- "Fontconfig head is null, check your fonts or fonts configuration" with liberica-openjdk-alpine:17.0.10 HOT 4
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 liberica.