Skip to content

Commit 4fdd683

Browse files
committed
Enabled experimental options for mostly static linking.
1 parent 98ac585 commit 4fdd683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
native-image -Ob -H:+StaticExecutableWithDynamicLibC -m jdk.httpserver -o jwebserver.mostly
3+
native-image -Ob -H:+UnlockExperimentalVMOptions -H:+StaticExecutableWithDynamicLibC -m jdk.httpserver -o jwebserver.mostly
44

55
# Distroless Base (provides glibc)
66
docker build . -f Dockerfile.distroless-base.mostly -t jwebserver:distroless-base.mostly

0 commit comments

Comments
 (0)