From 2f0427af962a35a53ef8392f0a8bf367a4cbe185 Mon Sep 17 00:00:00 2001 From: Yang Yang <153794571+YuWanTingbb@users.noreply.github.com> Date: Wed, 6 Mar 2024 08:50:31 +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 276b75b..ec7ff3b 100644 --- a/Dockerfiles/Dockerfile.native +++ b/Dockerfiles/Dockerfile.native @@ -9,8 +9,7 @@ COPY . /build # Build with a more generic CPU target RUN chmod +x mvnw && \ - ./mvnw package -Pnative \ - -Dquarkus.native.additional-build-args=-H:-UseAdvancedInstructionSets && \ + ./mvnw --no-transfer-progress native:compile -Pnative && \ rm -rf /root/.m2 # Use a lightweight Linux base image with just enough runtime dependencies