summaryrefslogtreecommitdiff
path: root/openjdk-runtime
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2025-07-04 05:38:32 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2025-07-04 05:38:32 +0200
commit58ae5ebfc6d3e0bb7fe177f796815a17b7f5f6fc (patch)
treea98d471874a384c448ae6b7d6bbda46c75ff69a9 /openjdk-runtime
parentb9ec6c89c136785d14adf387203498b01f0508f3 (diff)
Add --module-path parameter to jlink invocation.HEADmain
Change-Id: I3ccba73e2273e1fc0ce3ba7b98c424844b822ae9
Diffstat (limited to 'openjdk-runtime')
-rw-r--r--openjdk-runtime/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openjdk-runtime/Dockerfile b/openjdk-runtime/Dockerfile
index def6305..b1dac88 100644
--- a/openjdk-runtime/Dockerfile
+++ b/openjdk-runtime/Dockerfile
@@ -12,6 +12,7 @@ RUN microdnf --assumeyes --nodocs install binutils
RUN /jdk/*/bin/jlink \
-J-XX:MaxRAMPercentage=75 \
--add-modules ALL-MODULE-PATH \
+ --module-path /jdk/*/jmods \
--compress=1 \
--no-man-pages \
--strip-debug \