From 111c4cfb9f0c6b78b8020a3d64e55202bcdcd630 Mon Sep 17 00:00:00 2001 From: upodroid Date: Fri, 23 Jan 2026 20:19:46 +0300 Subject: [PATCH] add util-linux-misc to agnhost so we can replace ipc-utils with agnhost --- test/images/agnhost/Dockerfile | 9 +++++---- test/images/agnhost/VERSION | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test/images/agnhost/Dockerfile b/test/images/agnhost/Dockerfile index 2ee561f5cda..d0b1a7bbec9 100644 --- a/test/images/agnhost/Dockerfile +++ b/test/images/agnhost/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG BASEIMAGE +ARG BASEIMAGE=alpine ARG GOLANG_VERSION FROM golang:$GOLANG_VERSION AS preparer @@ -40,11 +40,12 @@ CROSS_BUILD_COPY qemu-QEMUARCH-static /usr/bin/ # install necessary packages: # - curl, nc: used by a lot of e2e tests # - iproute2: includes ss used in NodePort tests +# - util-linux-misc: includes ipcs used in SELinux tests # from iperf image # install necessary packages: iperf, bash -RUN apk --update add bind-tools curl netcat-openbsd iproute2 iperf bash && rm -rf /var/cache/apk/* \ - && ln -s /usr/bin/iperf /usr/local/bin/iperf \ - && ls -altrh /usr/local/bin/iperf +RUN apk --update add bind-tools curl netcat-openbsd iproute2 iperf bash util-linux-misc && rm -rf /var/cache/apk/* \ + && ln -s /usr/bin/iperf /usr/local/bin/iperf \ + && ls -altrh /usr/local/bin/iperf ADD https://github.com/coredns/coredns/releases/download/v1.6.2/coredns_1.6.2_linux_BASEARCH.tgz /coredns.tgz RUN tar -xzvf /coredns.tgz && rm -f /coredns.tgz diff --git a/test/images/agnhost/VERSION b/test/images/agnhost/VERSION index 995366c63c4..578dac52eb2 100644 --- a/test/images/agnhost/VERSION +++ b/test/images/agnhost/VERSION @@ -1 +1 @@ -2.62.0 +2.62.1