You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2025/02/28 05:45:02 UTC

(streampark) branch dockerfile created (now 7b3b6f46f)

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

benjobs pushed a change to branch dockerfile
in repository https://gitbox.apache.org/repos/asf/streampark.git


      at 7b3b6f46f [CI] build docker image CI bug fixed.

This branch includes the following new commits:

     new 7b3b6f46f [CI] build docker image CI bug fixed.

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.



(streampark) 01/01: [CI] build docker image CI bug fixed.

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

benjobs pushed a commit to branch dockerfile
in repository https://gitbox.apache.org/repos/asf/streampark.git

commit 7b3b6f46f53f845d4a44a840105314c2993a2f25
Author: benjobs <be...@apache.org>
AuthorDate: Fri Feb 28 13:44:23 2025 +0800

    [CI] build docker image CI bug fixed.
---
 docker/Dockerfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index f0a6e53ae..ac5fca4f4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -26,8 +26,8 @@ ARG JAVA_MAJOR_VERSION=8
 ARG TINI_VERSION=v0.19.0
 
 # Base system setup
-RUN apt-get update -qq && \
-    apt-get install -y --no-install-recommends \
+RUN apt update && \
+    apt install -y \
         software-properties-common \
         ca-certificates \
         curl \
@@ -37,8 +37,8 @@ RUN apt-get update -qq && \
         vim \
         wget && \
     add-apt-repository -y ppa:openjdk-r/ppa && \
-    apt-get update -qq && \
-    apt-get install -y "openjdk-${JAVA_MAJOR_VERSION}-jdk" && \
+    apt update && \
+    apt install -y "openjdk-${JAVA_MAJOR_VERSION}-jdk" && \
     rm -rf /var/lib/apt/lists/*
 
 # Configure Java environment
@@ -54,9 +54,9 @@ RUN mkdir -p /etc/apt/keyrings && \
     echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
     https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
     tee /etc/apt/sources.list.d/docker.list >/dev/null && \
-    apt-get update -qq && \
+    apt update && \
     # Install the Docker packages.
-    apt-get install -y --no-install-recommends \
+    apt install -y \
         docker-ce \
         docker-ce-cli \
         containerd.io \