Skip to content

Commit

Permalink
DBZ-7224 Switched operator and server image to JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
jcechace committed Jul 4, 2024
1 parent 05a1f8d commit 544d343
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion operator/3.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
# accessed directly. (example: "foo.example.com,bar.example.com")
#
###
FROM registry.access.redhat.com/ubi8/openjdk-17:1.14
FROM registry.access.redhat.com/ubi8/openjdk-21
LABEL maintainer="Debezium Community"

#
Expand Down
2 changes: 1 addition & 1 deletion operator/snapshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
# accessed directly. (example: "foo.example.com,bar.example.com")
#
###
FROM registry.access.redhat.com/ubi8/openjdk-17:1.14
FROM registry.access.redhat.com/ubi8/openjdk-21
LABEL maintainer="Debezium Community"

#
Expand Down
4 changes: 2 additions & 2 deletions server/3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -49,7 +49,7 @@ RUN echo "$SERVER_MD5 /tmp/debezium.tar.gz" | md5sum -c - &&\
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"

Expand Down
4 changes: 2 additions & 2 deletions server/snapshot/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -49,7 +49,7 @@ RUN SNAPSHOT_VERSION=$(curl --silent -fSL $MAVEN_OSS_SNAPSHOT/io/debezium/debezi
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 DEBEZIUM_VERSION=$DEBEZIUM_VERSION \
Expand Down

0 comments on commit 544d343

Please sign in to comment.