This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new 1a9c9a46c [CI] build docker image CI bug fixed. (#4195)
1a9c9a46c is described below
commit 1a9c9a46c253f1c2e9cb8a7a044b0ac770175c88
Author: benjobs <[email protected]>
AuthorDate: Fri Feb 28 21:40:00 2025 +0800
[CI] build docker image CI bug fixed. (#4195)
---
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 \