This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new bd9e42b4c4f [fix][build] Fix apt download issue in building the docker
image (#21489)
bd9e42b4c4f is described below
commit bd9e42b4c4fb2ae7b599c1b165b153dd7236ec3d
Author: Lari Hotari <[email protected]>
AuthorDate: Wed Nov 1 00:23:52 2023 +0200
[fix][build] Fix apt download issue in building the docker image (#21489)
(cherry picked from commit 7c6a4b8b5e97c19f2dad37b402a57d26172b6cd2)
---
docker/pulsar/Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index 593401f57be..c8ff0ef4f18 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -61,9 +61,9 @@ RUN sed -i -e
"s|http://archive\.ubuntu\.com/ubuntu/|${UBUNTU_MIRROR:-mirror://m
&& echo 'Acquire::http::Timeout "30";\nAcquire::ftp::Timeout
"30";\nAcquire::Retries "3";' > /etc/apt/apt.conf.d/99timeout_and_retries \
&& apt-get update \
&& apt-get -y dist-upgrade \
- && apt-get -y install --no-install-recommends netcat dnsutils less procps
iputils-ping \
- python3 python3-kazoo python3-pip \
- curl ca-certificates wget apt-transport-https
+ && apt-get -y install netcat dnsutils less procps iputils-ping \
+ curl ca-certificates wget apt-transport-https \
+ && apt-get -y install --no-install-recommends python3 python3-kazoo
python3-pip
# Install Eclipse Temurin Package
RUN mkdir -p /etc/apt/keyrings \