From 1603841f9157886989c36aa8220d2d9cacb64cec Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Wed, 19 Jan 2022 21:43:04 -0800 Subject: [PATCH] Dockerfile: Install iperf3 and ethr for performance tests Signed-off-by: Bo Chen --- resources/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/Dockerfile b/resources/Dockerfile index 20c4f9d56..5823a971e 100644 --- a/resources/Dockerfile +++ b/resources/Dockerfile @@ -44,6 +44,8 @@ RUN apt-get update \ openvswitch-switch-dpdk \ python3-distutils \ uuid-dev \ + iperf3 \ + zip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -126,3 +128,9 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \ && cp ./scripts/rpc.py /usr/local/bin/spdk-nvme \ && cp -r ./scripts/rpc /usr/local/bin/spdk-nvme \ && cd .. && rm -rf spdk; fi + +# install ethr tool for performance tests +RUN wget https://github.com/microsoft/ethr/releases/latest/download/ethr_linux.zip \ + && unzip ethr_linux.zip \ + && cp ethr /usr/local/bin \ + && rm ethr_linux.zip \ No newline at end of file