From 88265e87927c6d81ccfc295195cb714ea0811f1a Mon Sep 17 00:00:00 2001 From: Yang Yang <153794571+YuWanTingbb@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:27:32 +0800 Subject: [PATCH] Update Dockerfile.native --- Dockerfiles/Dockerfile.native | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfiles/Dockerfile.native b/Dockerfiles/Dockerfile.native index 0693660..4797036 100644 --- a/Dockerfiles/Dockerfile.native +++ b/Dockerfiles/Dockerfile.native @@ -9,9 +9,8 @@ COPY . /build # Build RUN chmod +x mvnw && \ - ./mvnw --no-transfer-progress native:compile -Pnative -Dquarkus.native.additional-build-args=-H:NativeImageOptions=-march=ivybridge && \ + ./mvnw --no-transfer-progress native:compile -Pnative -Dquarkus.native.additional-build-args=-H:+ReportExceptionStackTraces,-J-Xmx4g,-H:CompilerBackend=llvm,-H:NativeLinkerOption=-march=ivybridge && \ rm -rf /root/.m2 - # Use a lightweight Linux base image with just enough runtime dependencies FROM photon:latest