Upgrade to Java 21 and update Docker base images accordingly
Build and Push Docker Image / build-and-push (push) Successful in 1m13s
Build and Push Docker Image / build-and-push (push) Successful in 1m13s
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
# Stage 1: Build the JAR using Maven
|
||||
FROM maven:3.9-eclipse-temurin-17 AS builder
|
||||
FROM maven:3.9-eclipse-temurin-21 AS builder
|
||||
|
||||
LABEL org.opencontainers.image.description="JavadocViewerService serves and manages Javadoc documentation from Git repositories."
|
||||
|
||||
@@ -14,7 +14,7 @@ COPY src ./src
|
||||
RUN mvn clean package -DskipTests
|
||||
|
||||
# Stage 2: Minimal runtime image
|
||||
FROM eclipse-temurin:17-jdk-jammy
|
||||
FROM eclipse-temurin:21-jdk-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user