Skip to content

Commit

Permalink
Opentelemetry agent feil, må tilgang. ref 'unaccessible: module java.…
Browse files Browse the repository at this point in the history
…base does not "opens java.lang" to unnamed module' (#131)
  • Loading branch information
geiralund authored Oct 17, 2024
1 parent d48c49f commit 2dc895c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mediator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM cgr.dev/chainguard/jre:latest

ENV LANG='nb_NO.UTF-8' LANGUAGE='nb_NO:nb' LC_ALL='nb:NO.UTF-8' TZ="Europe/Oslo"

ENV JAVA_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED"

COPY build/libs/mediator-all.jar /app.jar

ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit 2dc895c

Please sign in to comment.