From f4155795b62868770b3ec810d00089ab39e3f580 Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Tue, 19 Oct 2021 08:04:53 +0800 Subject: [PATCH] build: try to use com.sun.Unsafe with jlink https://github.com/ben-manes/caffeine/issues/273 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 814fb132..23ddd252 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN cd /javadocky && ./gradlew assemble --no-daemon FROM eclipse-temurin:16-alpine as jlink RUN jlink \ - --add-modules java.base,java.desktop,java.management,java.xml,java.naming,java.net.http,java.sql,java.instrument \ + --add-modules java.base,java.desktop,java.management,java.xml,java.naming,java.net.http,java.sql,java.instrument,jdk.unsupported \ --strip-java-debug-attributes \ --compress 2 \ --no-header-files \