java21
This commit is contained in:
parent
ddf58833da
commit
877a3eb981
@ -1,4 +1,4 @@
|
||||
FROM maven:3.9.9-eclipse-temurin-17 AS build
|
||||
FROM maven:3.9.9-eclipse-temurin-21 AS build
|
||||
WORKDIR /workspace
|
||||
|
||||
COPY pom.xml ./
|
||||
@ -7,7 +7,7 @@ RUN mvn -q -DskipTests dependency:go-offline
|
||||
COPY src ./src
|
||||
RUN mvn -q -DskipTests package dependency:copy-dependencies
|
||||
|
||||
FROM eclipse-temurin:17-jre-alpine
|
||||
FROM eclipse-temurin:21-jre-alpine
|
||||
WORKDIR /app
|
||||
|
||||
RUN addgroup -S app && adduser -S app -G app
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user