如何让Alpine Java上运行Libsodium

我试图在Alpine Java docker镜像上运行Libsodium。

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 

运行libsodium需要什么依赖关系?

使用OpenJDK或OracleJDK 无限制