This is an automated email from the ASF dual-hosted git repository. chia7712 pushed a commit to branch test_docker in repository https://gitbox.apache.org/repos/asf/kafka.git
commit d5a5b007f48088e07bb48f4bc0bb1c935c488722 Author: Chia-Ping Tsai <[email protected]> AuthorDate: Mon Jan 12 23:53:28 2026 +0800 tmp --- docker/jvm/Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/jvm/Dockerfile b/docker/jvm/Dockerfile index 1c7c95d4869..0220ceba0bd 100644 --- a/docker/jvm/Dockerfile +++ b/docker/jvm/Dockerfile @@ -39,11 +39,14 @@ RUN set -eux ; \ wget -nv -O kafka.tgz "$KAFKA_URL"; \ wget -nv -O kafka.tgz.asc "$KAFKA_URL.asc"; \ wget -nv -O KEYS https://downloads.apache.org/kafka/KEYS; \ + mkdir opt/kafka; \ + tar xfz kafka.tgz -C opt/kafka --strip-components 1; \ gpg --import KEYS; \ gpg --batch --verify kafka.tgz.asc kafka.tgz; \ - fi; \ - mkdir opt/kafka; \ - tar xfz kafka.tgz -C opt/kafka --strip-components 1; + else \ + mkdir opt/kafka; \ + tar xfz kafka.tgz -C opt/kafka --strip-components 1; \ + fi; # Generate jsa files using dynamic CDS for kafka server start command and kafka storage format command RUN /etc/kafka/docker/jsa_launch
