dockerfile back 2

This commit is contained in:
Alexandre Chevalier
2026-02-11 12:58:11 +01:00
parent fd260c4066
commit 8e89ae5372

View File

@@ -1,12 +1,15 @@
FROM alpine:3.23 AS builder
FROM quay.io/quarkus/ubi-quarkus-mandrel-builder-image:23.1-java17 AS builder
USER root
RUN microdnf install -y maven
RUN apk --no-cache add maven docker-cli
COPY doodlestudent/api /app
WORKDIR /app
RUN mvn package -Pnative -Dquarkus.native.container-build=true
RUN mvn package -Pnative -Dquarkus.native.container-build=true -DskipTests
RUN ls -l target
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8