From 42ab036ee93a49aa1971b38b12df2fa99254c6c9 Mon Sep 17 00:00:00 2001 From: Tatiana Date: Mon, 11 May 2026 19:07:16 +0200 Subject: [PATCH] Step 3: Upgrade Java Version, Maven Wrapper, and Dockerfile - Compile: SUCCESS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pom.xml: java.version 21 → 25 - .mvn/wrapper/maven-wrapper.properties: kept Maven 3.9.15 (compatible with Java 25) - Dockerfile: build/runtime images updated to eclipse-temurin:25-jdk-alpine --- Dockerfile | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4257877..b1b691b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ── Fase 1: compilar ──────────────────────────────────────────── -FROM eclipse-temurin:21-jdk-alpine AS build +FROM eclipse-temurin:25-jdk-alpine AS build WORKDIR /app COPY .mvn/ .mvn/ COPY mvnw pom.xml ./ @@ -8,7 +8,7 @@ COPY src ./src RUN ./mvnw clean package -DskipTests -q # ── Fase 2: imagen final (solo JRE) ───────────────────────────── -FROM eclipse-temurin:21-jre-alpine +FROM eclipse-temurin:25-jdk-alpine WORKDIR /app COPY --from=build /app/target/*.jar app.jar EXPOSE 8081 diff --git a/pom.xml b/pom.xml index 0c8568e..6991015 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ - 21 + 25