Migrate to jdk 21 (#2295)
* docker containers using images with jre 21 * project is still building with target java 17 - so jar artifacts are java 17 compatible * provided option to have different version for client libraries (e.g. ddi and management REST api) Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# set Java
|
||||
ARG JAVA_VERSION=17.0.14_7
|
||||
ARG JAVA_VERSION=21.0.6_7
|
||||
# extracts spring layers from the app jar (to optimize boot)
|
||||
FROM eclipse-temurin:${JAVA_VERSION}-jre-alpine as build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user