From 009cb68011f6f36f586d120f8d5b2ac5e92ea694 Mon Sep 17 00:00:00 2001 From: Daniel Y Date: Wed, 14 Sep 2022 09:29:45 +0800 Subject: [PATCH] [Improvement-11834] Upgrade docker base image to support python3.9 (#11835) * use openjdk:8-jre-slim-bullseye instead of buster to support python3.9 * use openjdk:8-jre-slim-bullseye instead of buster across all components --- .github/workflows/cluster-test/mysql/Dockerfile | 2 +- .github/workflows/cluster-test/postgresql/Dockerfile | 2 +- .../dolphinscheduler-alert-server/src/main/docker/Dockerfile | 2 +- dolphinscheduler-api/src/main/docker/Dockerfile | 2 +- dolphinscheduler-master/src/main/docker/Dockerfile | 2 +- dolphinscheduler-standalone-server/src/main/docker/Dockerfile | 2 +- dolphinscheduler-tools/src/main/docker/Dockerfile | 2 +- dolphinscheduler-worker/src/main/docker/Dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cluster-test/mysql/Dockerfile b/.github/workflows/cluster-test/mysql/Dockerfile index e1cfd57f2c..be9ce06154 100644 --- a/.github/workflows/cluster-test/mysql/Dockerfile +++ b/.github/workflows/cluster-test/mysql/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye RUN apt update ; \ apt install -y curl wget default-mysql-client sudo openssh-server netcat-traditional ; diff --git a/.github/workflows/cluster-test/postgresql/Dockerfile b/.github/workflows/cluster-test/postgresql/Dockerfile index d94775af14..9f4e750e65 100644 --- a/.github/workflows/cluster-test/postgresql/Dockerfile +++ b/.github/workflows/cluster-test/postgresql/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye RUN apt update ; \ apt install -y curl wget sudo openssh-server netcat-traditional ; diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile index 84df818d9f..52e390e4d3 100644 --- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile +++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye ENV DOCKER true ENV TZ Asia/Shanghai diff --git a/dolphinscheduler-api/src/main/docker/Dockerfile b/dolphinscheduler-api/src/main/docker/Dockerfile index 946f2ff46a..b6bfd6ba79 100644 --- a/dolphinscheduler-api/src/main/docker/Dockerfile +++ b/dolphinscheduler-api/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye ENV DOCKER true ENV TZ Asia/Shanghai diff --git a/dolphinscheduler-master/src/main/docker/Dockerfile b/dolphinscheduler-master/src/main/docker/Dockerfile index 7ab4f622c3..a484b0ce6a 100644 --- a/dolphinscheduler-master/src/main/docker/Dockerfile +++ b/dolphinscheduler-master/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye ENV DOCKER true ENV TZ Asia/Shanghai diff --git a/dolphinscheduler-standalone-server/src/main/docker/Dockerfile b/dolphinscheduler-standalone-server/src/main/docker/Dockerfile index d1ae2b3c98..80713b8b5a 100644 --- a/dolphinscheduler-standalone-server/src/main/docker/Dockerfile +++ b/dolphinscheduler-standalone-server/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye ENV DOCKER true ENV TZ Asia/Shanghai diff --git a/dolphinscheduler-tools/src/main/docker/Dockerfile b/dolphinscheduler-tools/src/main/docker/Dockerfile index 811a8c2006..e4a650aad3 100644 --- a/dolphinscheduler-tools/src/main/docker/Dockerfile +++ b/dolphinscheduler-tools/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye ENV DOCKER true ENV TZ Asia/Shanghai diff --git a/dolphinscheduler-worker/src/main/docker/Dockerfile b/dolphinscheduler-worker/src/main/docker/Dockerfile index b2b78cbdcd..9b07ef3a74 100644 --- a/dolphinscheduler-worker/src/main/docker/Dockerfile +++ b/dolphinscheduler-worker/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ # limitations under the License. # -FROM openjdk:8-jre-slim-buster +FROM openjdk:8-jre-slim-bullseye ENV DOCKER true ENV TZ Asia/Shanghai