From fa8a2b019fe9571372ad14d19dbae0ae436312e8 Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Fri, 15 Mar 2024 05:42:16 +0800 Subject: [PATCH] jdk --- docker/build_deps_image.sh | 2 +- docker/start_app.sh | 2 +- docker/start_broker.sh | 4 ++-- docker/start_controller.sh | 4 ++-- docker/start_worker.sh | 4 ++-- docker/start_zookeeper.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docker/build_deps_image.sh b/docker/build_deps_image.sh index a5f32aee20..8f23e03590 100755 --- a/docker/build_deps_image.sh +++ b/docker/build_deps_image.sh @@ -28,7 +28,7 @@ FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y \ git \ - openjdk-17-jdk \ + openjdk-21-jdk \ wget \ unzip \ curl diff --git a/docker/start_app.sh b/docker/start_app.sh index ad7e5122b0..4cef3a9b26 100755 --- a/docker/start_app.sh +++ b/docker/start_app.sh @@ -61,7 +61,7 @@ RUN tar -xvf \$(find ./app/build/distributions/ -maxdepth 1 -type f -name app-*. FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy astraea COPY --from=build /opt/astraea /opt/astraea diff --git a/docker/start_broker.sh b/docker/start_broker.sh index 6212ea578e..ccc3175ea5 100755 --- a/docker/start_broker.sh +++ b/docker/start_broker.sh @@ -94,7 +94,7 @@ RUN tar -zxvf \$(find ./core/build/distributions/ -maxdepth 1 -type f \( -iname FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy kafka COPY --from=build /opt/jmx_exporter /opt/jmx_exporter @@ -136,7 +136,7 @@ WORKDIR /opt/kafka FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy kafka COPY --from=build /opt/jmx_exporter /opt/jmx_exporter diff --git a/docker/start_controller.sh b/docker/start_controller.sh index 9ea0fc995e..fc87baf97f 100755 --- a/docker/start_controller.sh +++ b/docker/start_controller.sh @@ -80,7 +80,7 @@ RUN tar -zxvf \$(find ./core/build/distributions/ -maxdepth 1 -type f \( -iname FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy kafka COPY --from=build /opt/jmx_exporter /opt/jmx_exporter @@ -122,7 +122,7 @@ WORKDIR /opt/kafka FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy kafka COPY --from=build /opt/jmx_exporter /opt/jmx_exporter diff --git a/docker/start_worker.sh b/docker/start_worker.sh index a9d0282641..72923a9057 100755 --- a/docker/start_worker.sh +++ b/docker/start_worker.sh @@ -96,7 +96,7 @@ RUN cp /tmp/astraea/connector/build/libs/astraea-*-all.jar /opt/kafka/libs/ FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy kafka COPY --from=build /opt/kafka /opt/kafka @@ -135,7 +135,7 @@ RUN cp /tmp/astraea/connector/build/libs/astraea-*-all.jar /opt/kafka/libs/ FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy kafka COPY --from=build /opt/kafka /opt/kafka diff --git a/docker/start_zookeeper.sh b/docker/start_zookeeper.sh index db9defd879..3ae6cd5ff8 100755 --- a/docker/start_zookeeper.sh +++ b/docker/start_zookeeper.sh @@ -62,7 +62,7 @@ RUN tar -zxvf apache-zookeeper-${VERSION}-bin.tar.gz -C /opt/zookeeper --strip-c FROM ubuntu:23.10 # install tools -RUN apt-get update && apt-get install -y openjdk-17-jre +RUN apt-get update && apt-get install -y openjdk-21-jre # copy zookeeper COPY --from=build /opt/zookeeper /opt/zookeeper