From 5802daab8c31f3485d61e72b90cee15d3b3f471a Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Wed, 5 Mar 2025 16:46:32 +0100 Subject: [PATCH] Add Dockerfile for the iperf3 container image When iperf3 background process will be run in the POD by Tobiko tests, it needs to be newer iperf3 then available in Centos 9 stream currently (Tobiko requires iperf3 with support for the "--json-stream" option which was introduced in iperf 3.17). Because of that this patch adds simply Dockerfile to build iperf3 container. It is based on Centos 10 stream and has iperf3 in the new enough version. Related: #TOBIKO-131 Change-Id: Ie7b67bad059d7d5252270bab3cf148103dff96e9 --- tools/iperf3_image/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tools/iperf3_image/Dockerfile diff --git a/tools/iperf3_image/Dockerfile b/tools/iperf3_image/Dockerfile new file mode 100644 index 000000000..1b65796df --- /dev/null +++ b/tools/iperf3_image/Dockerfile @@ -0,0 +1,7 @@ +FROM quay.io/centos/centos:stream10 + +ENV INSTALL_PACKAGES="dnf install -y" + +RUN ${INSTALL_PACKAGES} iperf3 + +ENTRYPOINT ["iperf3"]