From f68ba2ebf1165347661fcb3ae46f7f242b153a1c Mon Sep 17 00:00:00 2001 From: Jiri Pechanec Date: Thu, 11 Jul 2024 08:09:41 +0200 Subject: [PATCH] DBZ-7224 Use Java 21 is local Dockerfile --- server/3.0/Dockerfile.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/3.0/Dockerfile.local b/server/3.0/Dockerfile.local index 27647267..7b370e03 100644 --- a/server/3.0/Dockerfile.local +++ b/server/3.0/Dockerfile.local @@ -1,5 +1,5 @@ # Stage 1: Build stage -FROM registry.access.redhat.com/ubi8/openjdk-11 AS builder +FROM registry.access.redhat.com/ubi8/openjdk-21 AS builder LABEL maintainer="Debezium Community" @@ -44,7 +44,7 @@ RUN tar xzf /tmp/debezium.tar.gz -C $SERVER_HOME --strip-components 1 &&\ RUN chmod -R g+w,o+w $SERVER_HOME # Stage 2: Final image -FROM registry.access.redhat.com/ubi8/openjdk-11 +FROM registry.access.redhat.com/ubi8/openjdk-21 LABEL maintainer="Debezium Community" ENV SERVER_HOME=/debezium