Upgrade java from 17 to 21

This commit is contained in:
2025-07-26 13:43:58 +03:00
parent 2c1fe04ff4
commit 84095a21d8
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM docker.io/eclipse-temurin:17
FROM docker.io/eclipse-temurin:21
RUN apt-get update \
&& apt-get install -y ffmpeg \
&& apt-get clean \

View File

@@ -12,7 +12,7 @@ version = "0.0.1-SNAPSHOT"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
languageVersion = JavaLanguageVersion.of(21)
}
}

View File

@@ -1,5 +1,5 @@
[tools]
java = "temurin-17"
java = "temurin-21"
[tasks.release]
description = 'Build and push docker image'