docker如何在Alpine Java上运行libnail
我正在尝试在Alpine Java docker图像上运行libnaude
RUN "apk update && apk upgrade"
RUN "apk add --no-cache ca-certificates wget && update-ca-certificates"
RUN "apk add --no-cache openssl build-base libffi libsodium"
但当我运行容器时,Java崩溃了
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f0f25b65ceb, pid=22, tid=0x00007f0f265f7700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so+0x1fceb] __vdsosym+0x9
#
# Core dump written. Default location: //core or core.22
#
# An error report file with more information is saved as:
# //hs_err_pid22.log
运行libnaid需要哪些依赖项
# 1 楼答案
使用OpenJDK或OracleJDK无限