I'm trying to create docker image based on busybox with openjdk 11, for minimal java image
I used progrium/busybox
as base image which contains glibc and installed zlib.so which was missing: opkg-install zlib-dev
Then I downloaded from https://jdk.java.net/11/ the compiled linux jdk.
Then when trying to run java -version
it outputs the version but then crash.
This is from the created log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f6d7013d5c0, pid=47, tid=62
#
# JRE version: OpenJDK Runtime Environment (11.0.2+9) (build 11.0.2+9)
# Java VM: OpenJDK 64-Bit Server VM (11.0.2+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libc.so.6+0x385c0] __call_tls_dtors+0x10
#
full log here
I'd appreciate any advice or direction on how to solve this, thanks