diff --git a/docker/build_deps_image.sh b/docker/build_deps_image.sh index 3c9f1b829c..a5f32aee20 100755 --- a/docker/build_deps_image.sh +++ b/docker/build_deps_image.sh @@ -23,7 +23,7 @@ declare -r DOCKERFILE=$DOCKER_FOLDER/deps.dockerfile # ===================================[functions]=================================== function generateDockerfile() { echo "# this dockerfile is generated dynamically -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y \ diff --git a/docker/start_app.sh b/docker/start_app.sh index 5a12827f9c..ad7e5122b0 100755 --- a/docker/start_app.sh +++ b/docker/start_app.sh @@ -58,7 +58,7 @@ RUN ./gradlew clean build -x test --no-daemon RUN mkdir /opt/astraea RUN tar -xvf \$(find ./app/build/distributions/ -maxdepth 1 -type f -name app-*.tar) -C /opt/astraea/ --strip-components=1 -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre diff --git a/docker/start_broker.sh b/docker/start_broker.sh index 60bf7eaac4..a6e9f2f800 100755 --- a/docker/start_broker.sh +++ b/docker/start_broker.sh @@ -89,7 +89,7 @@ RUN ./gradlew clean releaseTarGz RUN mkdir /opt/kafka RUN tar -zxvf \$(find ./core/build/distributions/ -maxdepth 1 -type f \( -iname \"kafka*tgz\" ! -iname \"*sit*\" \)) -C /opt/kafka --strip-components=1 -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre @@ -113,7 +113,7 @@ WORKDIR /opt/kafka function generateDockerfileByVersion() { echo "# this dockerfile is generated dynamically -FROM ubuntu:22.04 AS build +FROM ubuntu:23.10 AS build # install tools RUN apt-get update && apt-get install -y wget @@ -131,7 +131,7 @@ RUN mkdir /opt/kafka RUN tar -zxvf kafka_2.13-${VERSION}.tgz -C /opt/kafka --strip-components=1 WORKDIR /opt/kafka -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre diff --git a/docker/start_controller.sh b/docker/start_controller.sh index 22305d8a15..da70903665 100755 --- a/docker/start_controller.sh +++ b/docker/start_controller.sh @@ -77,7 +77,7 @@ RUN ./gradlew clean releaseTarGz RUN mkdir /opt/kafka RUN tar -zxvf \$(find ./core/build/distributions/ -maxdepth 1 -type f \( -iname \"kafka*tgz\" ! -iname \"*sit*\" \)) -C /opt/kafka --strip-components=1 -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre @@ -101,7 +101,7 @@ WORKDIR /opt/kafka function generateDockerfileByVersion() { echo "# this dockerfile is generated dynamically -FROM ubuntu:22.04 AS build +FROM ubuntu:23.10 AS build # install tools RUN apt-get update && apt-get install -y wget @@ -119,7 +119,7 @@ RUN mkdir /opt/kafka RUN tar -zxvf kafka_2.13-${VERSION}.tgz -C /opt/kafka --strip-components=1 WORKDIR /opt/kafka -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre diff --git a/docker/start_hadoop.sh b/docker/start_hadoop.sh index b121b52913..122c9b8123 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:22.04 AS build +FROM ubuntu:23.10 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:22.04 +FROM ubuntu:23.10 #install tools # TODO: upgrade to jdk 11 (https://github.com/skiptests/astraea/issues/1681) diff --git a/docker/start_spark.sh b/docker/start_spark.sh index a61d735950..c628aa53dc 100755 --- a/docker/start_spark.sh +++ b/docker/start_spark.sh @@ -101,7 +101,7 @@ WORKDIR /opt/spark function generateDockerfileBySource() { echo "# this dockerfile is generated dynamically -FROM ubuntu:22.04 AS build +FROM ubuntu:23.10 AS build # Do not ask for confirmations when running apt-get, etc. ENV DEBIAN_FRONTEND noninteractive diff --git a/docker/start_worker.sh b/docker/start_worker.sh index 395b90d74b..96d76cdf15 100755 --- a/docker/start_worker.sh +++ b/docker/start_worker.sh @@ -93,7 +93,7 @@ WORKDIR /tmp/astraea RUN ./gradlew clean shadowJar RUN cp /tmp/astraea/connector/build/libs/astraea-*-all.jar /opt/kafka/libs/ -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre @@ -132,7 +132,7 @@ WORKDIR /tmp/astraea RUN ./gradlew clean shadowJar RUN cp /tmp/astraea/connector/build/libs/astraea-*-all.jar /opt/kafka/libs/ -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre diff --git a/docker/start_zookeeper.sh b/docker/start_zookeeper.sh index 1c90b74fbe..fb5931a2df 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:22.04 AS build +FROM ubuntu:23.10 AS build # install tools RUN apt-get update && apt-get install -y wget @@ -59,7 +59,7 @@ RUN wget https://archive.apache.org/dist/zookeeper/zookeeper-${VERSION}/apache-z RUN mkdir /opt/zookeeper RUN tar -zxvf apache-zookeeper-${VERSION}-bin.tar.gz -C /opt/zookeeper --strip-components=1 -FROM ubuntu:22.04 +FROM ubuntu:23.10 # install tools RUN apt-get update && apt-get install -y openjdk-17-jre