File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- # Stage 1: Build the application using a Gradle image with JDK 21 .
1+ # Stage 1: Build the application using a Gradle image with JDK.
22FROM gradle:9.2.0-jdk21-corretto AS builder
33WORKDIR /home/gradle/project
44
@@ -22,7 +22,7 @@ COPY . .
2222# Exclude tests to speed up the build.
2323RUN ./gradlew --no-daemon :order:clean :order:build -x test
2424
25- # Stage 2: Package the application into a runtime image using temurin JRE 25 .
25+ # Stage 2: Package the application into a runtime image using temurin JRE.
2626FROM eclipse-temurin:25-jre-jammy
2727WORKDIR /app
2828
Original file line number Diff line number Diff line change 1- # Stage 1: Build the application using a Gradle image with JDK 21 .
1+ # Stage 1: Build the application using a Gradle image with JDK.
22FROM gradle:9.2.0-jdk21-corretto AS builder
33WORKDIR /home/gradle/project
44
@@ -22,7 +22,7 @@ COPY . .
2222# Exclude tests to speed up the build.
2323RUN ./gradlew --no-daemon :payment:clean :payment:build -x test
2424
25- # Stage 2: Package the application into a runtime image using temurin JRE 25 .
25+ # Stage 2: Package the application into a runtime image using temurin JRE.
2626FROM eclipse-temurin:25-jre-jammy
2727WORKDIR /app
2828
You can’t perform that action at this time.
0 commit comments