Skip to content

Commit 9e07dd5

Browse files
authored
forgot to name build
1 parent 98d78f2 commit 9e07dd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend-java/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

22

33
# "Provides the native-image executable. Used by the Maven and Gradle plugin from Quarkus to build linux64 executables"
4-
FROM maven:3.9-eclipse-temurin
4+
FROM maven:3.9-eclipse-temurin AS build
55
WORKDIR /app
66
# Image defaults to /project; copy controlled by .dockerignore
77
COPY --chown=quarkus:quarkus . ./
88
RUN ./mvnw package -DskipTests
99

1010

11-
FROM registry.access.redhat.com/ubi9/openjdk-21:1.21
11+
FROM registry.access.redhat.com/ubi9/openjdk-21:1.21 as deploy
1212

1313
ENV LANGUAGE='en_US:en'
1414

0 commit comments

Comments
 (0)