Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
🐛Fixed The current machine does not support all of the following CPU …
Browse files Browse the repository at this point in the history
…features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSEZ, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT

        , LZCNT, AVX, AVX2, BMI1, BMIZ, FMA]
  • Loading branch information
eritpchy committed Jan 4, 2024
1 parent c7529c5 commit 705b819
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ graalvmNative {
buildArgs.add('--allow-incomplete-classpath')
buildArgs.add('--enable-url-protocols=http,https')
buildArgs.add('--initialize-at-run-time=sun.net.dns.ResolverConfigurationImpl')
buildArgs.add('-march=compatibility')
}
}
}
Expand All @@ -73,7 +74,9 @@ bootBuildImage {
environment = [
'BP_JVM_VERSION' : "17",
'BP_NATIVE_IMAGE' : 'true',
'BP_NATIVE_IMAGE_BUILD_ARGUMENTS': '-H:+AddAllCharsets --enable-url-protocols=http,https',
'BP_NATIVE_IMAGE_BUILD_ARGUMENTS': '-H:+AddAllCharsets ' +
'--enable-url-protocols=http,https ' +
'-march=compatibility ',
]
tags = ["eritpchy/webdav-aliyundriver:latest", "eritpchy/webdav-aliyundriver:${version}-${new Date().format('yyyyMMdd')}"]
}
Expand Down

0 comments on commit 705b819

Please sign in to comment.