1

I am trying to run Libsodium on the Alpine Java docker image.

 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"

But when I run the container, Java crashes.

# 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

What dependencies are required to run libsodium?

sdjflalksfja
  • 121
  • 4

1 Answers1

1

Use OpenJDK or OracleJDK unlimited

sdjflalksfja
  • 121
  • 4