From 6667c7c8774df92ff46f6c2d959ab6ee3112154b Mon Sep 17 00:00:00 2001 From: Yang Yang <153794571+YuWanTingbb@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:08:34 +0800 Subject: [PATCH] Update Dockerfile.native --- Dockerfiles/Dockerfile.native | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/Dockerfile.native b/Dockerfiles/Dockerfile.native index fcfc3b5..0693660 100644 --- a/Dockerfiles/Dockerfile.native +++ b/Dockerfiles/Dockerfile.native @@ -9,9 +9,9 @@ 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:NativeImageOptions=-march=ivybridge && \ rm -rf /root/.m2 + # Use a lightweight Linux base image with just enough runtime dependencies FROM photon:latest