Skip to content

Commit

Permalink
fix: install netcat-openbsd instead of netcat in test image build
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJian He <[email protected]>
  • Loading branch information
shoothzj committed Jul 28, 2024
1 parent e5c418e commit 2627463
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/docker-images/all-released-versions-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN sed -i -e "s|http://archive\.ubuntu\.com/ubuntu/|${UBUNTU_MIRROR:-http://arc
-e "s|http://security\.ubuntu\.com/ubuntu/|${UBUNTU_SECURITY_MIRROR:-http://security.ubuntu.com/ubuntu/}|g" /etc/apt/sources.list \
&& 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 \
&& apt-get update && apt-get install -qy wget curl supervisor bash ca-certificates apt-transport-https \
&& apt-get -y install netcat dnsutils less procps iputils-ping \
&& apt-get -y install netcat-openbsd dnsutils less procps iputils-ping \
&& apt-get install -y --no-install-recommends gpg gpg-agent sudo \
&& echo "dash dash/sh boolean false" | debconf-set-selections \
&& DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash \
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-images/current-version-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ RUN set -x \
&& apt-get install -y --no-install-recommends python3 pip \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& apt-get install -y --no-install-recommends gpg gpg-agent wget sudo \
&& apt-get -y install netcat dnsutils less procps iputils-ping \
&& apt-get -y install netcat-openbsd dnsutils less procps iputils-ping \
&& apt-get -y --purge autoremove \
&& apt-get autoclean \
&& apt-get clean \
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-images/statestore-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN set -x \
&& apt-get install -y --no-install-recommends openjdk-17-jdk \
&& apt-get install -y --no-install-recommends python3 pip \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& apt-get -y install netcat dnsutils less procps iputils-ping \
&& apt-get -y install netcat-openbsd dnsutils less procps iputils-ping \
&& apt-get install -y --no-install-recommends gpg gpg-agent wget sudo \
&& apt-get -y --purge autoremove \
&& apt-get autoclean \
Expand Down

0 comments on commit 2627463

Please sign in to comment.