Skip to content

Commit

Permalink
build: try to use com.sun.Unsafe with jlink
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed Oct 19, 2021
1 parent 7a20265 commit f415579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f415579

Please sign in to comment.