Upgrade to Java 21 and update Docker base images accordingly
Build and Push Docker Image / build-and-push (push) Successful in 1m13s

This commit is contained in:
2026-07-03 19:21:51 +02:00
parent a91616bcd0
commit 752744c114
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -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