GithubHelp home page GithubHelp logo

Comments (5)

kpy3no avatar kpy3no commented on June 12, 2024 4

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.

den1ska avatar den1ska commented on June 12, 2024 1

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.

den1ska avatar den1ska commented on June 12, 2024

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.

varpa89 avatar varpa89 commented on June 12, 2024

@kpy3no hi! have you found how to fix it with alpine image?

from liberica.

varpa89 avatar varpa89 commented on June 12, 2024

@den1ska could you please help? what is the reason of
[Too many errors, abort]
?

from liberica.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.