You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2026/09/23 23:05:31 UTC
(kafka) branch trunk updated: KAFKA-20857 use JDK25 in docker images (#23535)
This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9011238f8cc KAFKA-20857 use JDK25 in docker images (#23535)
9011238f8cc is described below
commit 9011238f8cc6f56f0ac6538807c45affad401d44
Author: Gaurav Narula <ga...@apple.com>
AuthorDate: Thu Sep 24 00:05:24 2026 +0100
KAFKA-20857 use JDK25 in docker images (#23535)
Bump the JVM Docker image (both the JSA build stage and the runtime
stage) from eclipse-temurin:21-jre-alpine to
eclipse-temurin:25-jre-alpine, and update the GraalVM native-image link
in docker/native/README.md to the JDK 25 docs to match the native
Dockerfile.
The system test Dockerfiles are intentionally left on JDK 17, since
older Kafka versions still rely on SecurityManager, which was removed
in JDK 24.
Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
docker/jvm/Dockerfile | 4 ++--
docker/native/README.md | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docker/jvm/Dockerfile b/docker/jvm/Dockerfile
index 242d18e00ed..765ff7fdd80 100644
--- a/docker/jvm/Dockerfile
+++ b/docker/jvm/Dockerfile
@@ -16,7 +16,7 @@
# limitations under the License.
###############################################################################
-FROM docker.io/library/eclipse-temurin:21-jre-alpine AS build-jsa
+FROM docker.io/library/eclipse-temurin:25-jre-alpine AS build-jsa
USER root
@@ -49,7 +49,7 @@ RUN set -eux ; \
RUN /etc/kafka/docker/jsa_launch
-FROM docker.io/library/eclipse-temurin:21-jre-alpine
+FROM docker.io/library/eclipse-temurin:25-jre-alpine
# exposed ports
EXPOSE 9092
diff --git a/docker/native/README.md b/docker/native/README.md
index 4bb56261e51..96ded155507 100644
--- a/docker/native/README.md
+++ b/docker/native/README.md
@@ -2,7 +2,7 @@
## Introduction
- The Native Apache Kafka Docker Image can launch brokers with sub-second startup time and minimal memory footprint by leveraging native Kafka executable.
-- The native Kafka executable is built by compiling Apache Kafka code ahead-of-time using the [GraalVM native-image tool](https://www.graalvm.org/jdk21/reference-manual/native-image/).
+- The native Kafka executable is built by compiling Apache Kafka code ahead-of-time using the [GraalVM native-image tool](https://www.graalvm.org/jdk25/reference-manual/native-image/).
- This image is experimental and intended for local development and testing purposes only; it is not recommended for production use.
- This is introduced with [KIP-974](https://cwiki.apache.org/confluence/x/KZizDw).