From fd51342a0c95cdb9e59b1610a23576577022b1d4 Mon Sep 17 00:00:00 2001 From: Liosha84 Date: Fri, 16 Oct 2026 00:19:36 +0200 Subject: [PATCH] fix(docker): run on Java 26 to match the build toolchain The app is compiled with toolchain 26 (class file 70), but the runtime image was eclipse-temurin:21 (max class file 65), which caused UnsupportedClassVersionError at startup. Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bdbbf85..5db057c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN ./gradlew copyAngularBuild --no-daemon --info RUN ./gradlew bootJar -x test --no-daemon # 2. Финальный образ (Runtime stage) -FROM eclipse-temurin:21-jdk-jammy +FROM eclipse-temurin:26-jdk-jammy # Здесь оставляем все утилиты управления контейнерами RUN apt-get update && \