Skip to content

Commit

Permalink
DBZ-7224 Use Java 21 is local Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed Jul 11, 2024
1 parent 1088dd6 commit f68ba2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/3.0/Dockerfile.local
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 @@ -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
Expand Down

0 comments on commit f68ba2e

Please sign in to comment.