dockerfile back 2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user