diff --git a/native-builder/Dockerfile b/native-builder/Dockerfile index 4c81a5b8..dbb7a95f 100644 --- a/native-builder/Dockerfile +++ b/native-builder/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM ghcr.io/graalvm/native-image:ol8-java11-22.2.0 +FROM ghcr.io/graalvm/native-image:ol8-java11-22.3.3 COPY build-native.sh build/ diff --git a/native-builder/build-native.sh b/native-builder/build-native.sh index c584d65d..08d8f251 100755 --- a/native-builder/build-native.sh +++ b/native-builder/build-native.sh @@ -14,6 +14,7 @@ # limitations under the License. native-image -jar "output/$1" \ +-H:+StaticExecutableWithDynamicLibC \ --no-fallback \ -H:Name="$2" \ -H:Path="output"