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 <[email protected]> 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 \
