You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ke...@apache.org on 2022/10/12 06:31:29 UTC

[dolphinscheduler] branch docker/base created (now 00d6fe2bad)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch docker/base
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


      at 00d6fe2bad Use temurin Java docker images instead of deprecated ones

This branch includes the following new commits:

     new 00d6fe2bad Use temurin Java docker images instead of deprecated ones

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[dolphinscheduler] 01/01: Use temurin Java docker images instead of deprecated ones

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch docker/base
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 00d6fe2bad5b86442e314c2224ea2cf8f917529b
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Oct 12 14:30:42 2022 +0800

    Use temurin Java docker images instead of deprecated ones
---
 .github/workflows/cluster-test/mysql/Dockerfile                     | 4 ++--
 .github/workflows/cluster-test/postgresql/Dockerfile                | 4 ++--
 .../dolphinscheduler-alert-server/src/main/docker/Dockerfile        | 6 +-----
 dolphinscheduler-api/src/main/docker/Dockerfile                     | 6 +-----
 dolphinscheduler-master/src/main/docker/Dockerfile                  | 6 +-----
 dolphinscheduler-standalone-server/src/main/docker/Dockerfile       | 4 ++--
 dolphinscheduler-tools/src/main/docker/Dockerfile                   | 6 +-----
 dolphinscheduler-worker/src/main/docker/Dockerfile                  | 4 ++--
 8 files changed, 12 insertions(+), 28 deletions(-)

diff --git a/.github/workflows/cluster-test/mysql/Dockerfile b/.github/workflows/cluster-test/mysql/Dockerfile
index be9ce06154..c7d6abe889 100644
--- a/.github/workflows/cluster-test/mysql/Dockerfile
+++ b/.github/workflows/cluster-test/mysql/Dockerfile
@@ -15,10 +15,10 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 RUN apt update ; \
-    apt install -y curl wget default-mysql-client sudo openssh-server netcat-traditional ;
+    apt install -y wget default-mysql-client sudo openssh-server netcat-traditional ;
 
 COPY ./apache-dolphinscheduler-*-SNAPSHOT-bin.tar.gz /root
 RUN tar -zxvf /root/apache-dolphinscheduler-*-SNAPSHOT-bin.tar.gz -C ~
diff --git a/.github/workflows/cluster-test/postgresql/Dockerfile b/.github/workflows/cluster-test/postgresql/Dockerfile
index 9f4e750e65..38234ee7b3 100644
--- a/.github/workflows/cluster-test/postgresql/Dockerfile
+++ b/.github/workflows/cluster-test/postgresql/Dockerfile
@@ -15,10 +15,10 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 RUN apt update ; \
-    apt install -y curl wget sudo openssh-server netcat-traditional ;
+    apt install -y wget sudo openssh-server netcat-traditional ;
 
 COPY ./apache-dolphinscheduler-*-SNAPSHOT-bin.tar.gz /root
 RUN tar -zxvf /root/apache-dolphinscheduler-*-SNAPSHOT-bin.tar.gz -C ~
diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile
index 52e390e4d3..e5256ce326 100644
--- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile
+++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/docker/Dockerfile
@@ -15,16 +15,12 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 ENV DOCKER true
 ENV TZ Asia/Shanghai
 ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
 
-RUN apt update ; \
-    apt install -y curl ; \
-    rm -rf /var/lib/apt/lists/*
-
 WORKDIR $DOLPHINSCHEDULER_HOME
 
 ADD ./target/alert-server $DOLPHINSCHEDULER_HOME
diff --git a/dolphinscheduler-api/src/main/docker/Dockerfile b/dolphinscheduler-api/src/main/docker/Dockerfile
index b6bfd6ba79..8b7f1c7f16 100644
--- a/dolphinscheduler-api/src/main/docker/Dockerfile
+++ b/dolphinscheduler-api/src/main/docker/Dockerfile
@@ -15,16 +15,12 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 ENV DOCKER true
 ENV TZ Asia/Shanghai
 ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
 
-RUN apt update ; \
-    apt install -y curl ; \
-    rm -rf /var/lib/apt/lists/*
-
 WORKDIR $DOLPHINSCHEDULER_HOME
 
 ADD ./target/api-server $DOLPHINSCHEDULER_HOME
diff --git a/dolphinscheduler-master/src/main/docker/Dockerfile b/dolphinscheduler-master/src/main/docker/Dockerfile
index a484b0ce6a..4d9d12843a 100644
--- a/dolphinscheduler-master/src/main/docker/Dockerfile
+++ b/dolphinscheduler-master/src/main/docker/Dockerfile
@@ -15,16 +15,12 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 ENV DOCKER true
 ENV TZ Asia/Shanghai
 ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
 
-RUN apt update ; \
-    apt install -y curl ; \
-    rm -rf /var/lib/apt/lists/*
-
 WORKDIR $DOLPHINSCHEDULER_HOME
 
 ADD ./target/master-server $DOLPHINSCHEDULER_HOME
diff --git a/dolphinscheduler-standalone-server/src/main/docker/Dockerfile b/dolphinscheduler-standalone-server/src/main/docker/Dockerfile
index 80713b8b5a..5acab794ca 100644
--- a/dolphinscheduler-standalone-server/src/main/docker/Dockerfile
+++ b/dolphinscheduler-standalone-server/src/main/docker/Dockerfile
@@ -15,14 +15,14 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 ENV DOCKER true
 ENV TZ Asia/Shanghai
 ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
 
 RUN apt update ; \
-    apt install -y curl sudo ; \
+    apt install -y sudo ; \
     rm -rf /var/lib/apt/lists/*
 
 WORKDIR $DOLPHINSCHEDULER_HOME
diff --git a/dolphinscheduler-tools/src/main/docker/Dockerfile b/dolphinscheduler-tools/src/main/docker/Dockerfile
index e4a650aad3..5bddf86817 100644
--- a/dolphinscheduler-tools/src/main/docker/Dockerfile
+++ b/dolphinscheduler-tools/src/main/docker/Dockerfile
@@ -15,16 +15,12 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 ENV DOCKER true
 ENV TZ Asia/Shanghai
 ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
 
-RUN apt update ; \
-    apt install -y curl ; \
-    rm -rf /var/lib/apt/lists/*
-
 WORKDIR $DOLPHINSCHEDULER_HOME
 
 # see doc: https://dolphinscheduler.apache.org/en-us/docs/dev/user_doc/guide/upgrade.html
diff --git a/dolphinscheduler-worker/src/main/docker/Dockerfile b/dolphinscheduler-worker/src/main/docker/Dockerfile
index 9b07ef3a74..6eeb49b47d 100644
--- a/dolphinscheduler-worker/src/main/docker/Dockerfile
+++ b/dolphinscheduler-worker/src/main/docker/Dockerfile
@@ -15,14 +15,14 @@
 # limitations under the License.
 #
 
-FROM openjdk:8-jre-slim-bullseye
+FROM eclipse-temurin:8-jre
 
 ENV DOCKER true
 ENV TZ Asia/Shanghai
 ENV DOLPHINSCHEDULER_HOME /opt/dolphinscheduler
 
 RUN apt update ; \
-    apt install -y curl sudo ; \
+    apt install -y sudo ; \
     rm -rf /var/lib/apt/lists/*
 
 WORKDIR $DOLPHINSCHEDULER_HOME