Skip to content

Commit 66e84ad

Browse files
hezhangjianhangc0276
authored andcommitted
fix: install netcat-openbsd instead of netcat in test image build (#4476)
Signed-off-by: ZhangJian He <[email protected]> (cherry picked from commit 5662524)
1 parent f51f584 commit 66e84ad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/docker-images/all-released-versions-image/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
FROM eclipse-temurin:8-jdk
20+
FROM eclipse-temurin:8-jdk-jammy
2121
MAINTAINER Apache BookKeeper <[email protected]>
2222

2323
ENV BK_JOURNALDIR=/opt/bookkeeper/data/journal
@@ -31,7 +31,7 @@ RUN sed -i -e "s|http://archive\.ubuntu\.com/ubuntu/|${UBUNTU_MIRROR:-http://arc
3131
-e "s|http://security\.ubuntu\.com/ubuntu/|${UBUNTU_SECURITY_MIRROR:-http://security.ubuntu.com/ubuntu/}|g" /etc/apt/sources.list \
3232
&& echo 'Acquire::http::Timeout "30";\nAcquire::http::ConnectionAttemptDelayMsec "2000";\nAcquire::https::Timeout "30";\nAcquire::https::ConnectionAttemptDelayMsec "2000";\nAcquire::ftp::Timeout "30";\nAcquire::ftp::ConnectionAttemptDelayMsec "2000";\nAcquire::Retries "15";' > /etc/apt/apt.conf.d/99timeout_and_retries \
3333
&& apt-get update && apt-get install -qy wget curl supervisor bash ca-certificates apt-transport-https \
34-
&& apt-get -y install netcat dnsutils less procps iputils-ping \
34+
&& apt-get -y install netcat-openbsd dnsutils less procps iputils-ping \
3535
&& apt-get install -y --no-install-recommends gpg gpg-agent sudo \
3636
&& echo "dash dash/sh boolean false" | debconf-set-selections \
3737
&& DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash \

tests/docker-images/current-version-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN set -x \
4545
&& apt-get install -y --no-install-recommends python3 pip \
4646
&& ln -s /usr/bin/python3 /usr/bin/python \
4747
&& apt-get install -y --no-install-recommends gpg gpg-agent wget sudo \
48-
&& apt-get -y install netcat dnsutils less procps iputils-ping \
48+
&& apt-get -y install netcat-openbsd dnsutils less procps iputils-ping \
4949
&& apt-get -y --purge autoremove \
5050
&& apt-get autoclean \
5151
&& apt-get clean \

tests/docker-images/statestore-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN set -x \
4040
&& apt-get install -y --no-install-recommends openjdk-17-jdk \
4141
&& apt-get install -y --no-install-recommends python3 pip \
4242
&& ln -s /usr/bin/python3 /usr/bin/python \
43-
&& apt-get -y install netcat dnsutils less procps iputils-ping \
43+
&& apt-get -y install netcat-openbsd dnsutils less procps iputils-ping \
4444
&& apt-get install -y --no-install-recommends gpg gpg-agent wget sudo \
4545
&& apt-get -y --purge autoremove \
4646
&& apt-get autoclean \

0 commit comments

Comments
 (0)