From b8be0551364270d250d0e04c87adac7c2a258c5b Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Thu, 2 Jan 2025 20:34:21 +0800 Subject: [PATCH] [DOCKER] upgrade from 23.10 to 24.04 --- docker/start_broker.sh | 2 +- docker/start_controller.sh | 2 +- docker/start_hadoop.sh | 4 ++-- docker/start_worker.sh | 2 +- docker/start_zookeeper.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/start_broker.sh b/docker/start_broker.sh index ed3f8fade0..e055df2c20 100755 --- a/docker/start_broker.sh +++ b/docker/start_broker.sh @@ -129,7 +129,7 @@ function generateDockerfileByVersion() { kafka_url="https://dist.apache.org/repos/dist/dev/kafka/${KAFKA_VERSION}/kafka_2.13-${version}.tgz" fi echo "# this dockerfile is generated dynamically -FROM ubuntu:23.10 AS build +FROM ubuntu:24.04 AS build # install tools RUN apt-get update && apt-get install -y wget diff --git a/docker/start_controller.sh b/docker/start_controller.sh index 2b51241e1d..786b48728f 100755 --- a/docker/start_controller.sh +++ b/docker/start_controller.sh @@ -107,7 +107,7 @@ function generateDockerfileByVersion() { kafka_url="https://dist.apache.org/repos/dist/dev/kafka/${KAFKA_VERSION}/kafka_2.13-${version}.tgz" fi echo "# this dockerfile is generated dynamically -FROM ubuntu:23.10 AS build +FROM ubuntu:24.04 AS build # install tools RUN apt-get update && apt-get install -y wget diff --git a/docker/start_hadoop.sh b/docker/start_hadoop.sh index 580999a901..e19949dfc3 100755 --- a/docker/start_hadoop.sh +++ b/docker/start_hadoop.sh @@ -57,7 +57,7 @@ function showHelp() { function generateDockerfile() { echo "#this dockerfile is generated dynamically -FROM ubuntu:23.10 AS build +FROM ubuntu:24.04 AS build #install tools RUN apt-get update && apt-get install -y wget @@ -75,7 +75,7 @@ RUN wget https://archive.apache.org/dist/hadoop/common/hadoop-${VERSION}/hadoop- RUN mkdir /opt/hadoop RUN tar -zxvf hadoop-${VERSION}.tar.gz -C /opt/hadoop --strip-components=1 -FROM ubuntu:23.10 +FROM ubuntu:24.04 #install tools # TODO: upgrade to jdk 11 (https://github.com/opensource4you/astraea/issues/1681) diff --git a/docker/start_worker.sh b/docker/start_worker.sh index 43330fe1b0..76f6738178 100755 --- a/docker/start_worker.sh +++ b/docker/start_worker.sh @@ -119,7 +119,7 @@ function generateDockerfileByVersion() { kafka_url="https://dist.apache.org/repos/dist/dev/kafka/${KAFKA_VERSION}/kafka_2.13-${version}.tgz" fi echo "# this dockerfile is generated dynamically -FROM ubuntu:23.10 AS build +FROM ubuntu:24.04 AS build # install tools RUN apt-get update && apt-get install -y wget diff --git a/docker/start_zookeeper.sh b/docker/start_zookeeper.sh index da2d1d981f..bb31689f06 100755 --- a/docker/start_zookeeper.sh +++ b/docker/start_zookeeper.sh @@ -48,7 +48,7 @@ function showHelp() { function generateDockerfile() { echo "# this dockerfile is generated dynamically -FROM ubuntu:23.10 AS build +FROM ubuntu:24.04 AS build # install tools RUN apt-get update && apt-get install -y wget