We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build.gradle.kts
plugins { id("com.github.johnrengelman.shadow") version "8.1.1" id("io.micronaut.application") version "4.4.2" id("io.micronaut.aot") version "4.4.2" } version = "0.1" group = "fete.bird" repositories { mavenCentral() } dependencies { .... } application { mainClass = "fete.bird.Assessment" } java { sourceCompatibility = JavaVersion.toVersion("21") targetCompatibility = JavaVersion.toVersion("21") } graalvmNative.toolchainDetection = false micronaut { runtime("netty") testRuntime("junit5") processing { incremental(true) annotations("fete.bird.*") } aot { // Please review carefully the optimizations enabled below // Check https://micronaut-projects.github.io/micronaut-aot/latest/guide/ for more details optimizeServiceLoading = false convertYamlToJava = false precomputeOperations = true cacheEnvironment = true optimizeClassLoading = true deduceEnvironment = true optimizeNetty = true replaceLogbackXml = true } } graalvmNative { binaries { named("main") { buildArgs.add("-H:+StaticExecutableWithDynamicLibC") } } }
docker file
FROM gcr.io/distroless/java-base-debian12 COPY build/native/nativeCompile/assessment app ENTRYPOINT ["/app"]
docker-compose
version: '3.8' services: assessment: build: context: ./assessment dockerfile: Dockerfile container_name: assessment ports: - 8082:8082 networks: - fetebird-uni networks: fetebird-uni: driver: bridge
Exception exec /app: exec format error
exec /app: exec format error
macos jdk 21
4.5.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
build.gradle.kts
docker file
docker-compose
Exception
exec /app: exec format error
Environment Information
macos
jdk 21
Version
4.5.1
The text was updated successfully, but these errors were encountered: