From 57725b2cec2e4b95c22d3cfa3e3191c8e84515d6 Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 30 May 2023 07:42:50 +0000 Subject: fix(infra): Add DPDK dependencies Signed-off-by: pmikus Change-Id: I9c4b4bd6ed5ed4a34f0c7b25ea948a498fa25fb4 (cherry picked from commit ab282c84ca6b7bc6030123aec11979d9101ffbe9) --- fdio.infra.ansible/roles/docker_images/files/base/Dockerfile | 1 + .../roles/docker_images/templates/docker-compose-sut.yaml.j2 | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'fdio.infra.ansible/roles') diff --git a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile index 85e10cf35c..d69cf98b0b 100644 --- a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile +++ b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile @@ -52,6 +52,7 @@ RUN apt-get -q update \ python3-cffi-backend \ python3-dev \ python3-pip \ + python3-pyelftools \ python3-setuptools \ python3-virtualenv \ qemu-system \ diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 index be0ffcd9f4..c73cc78c74 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 @@ -31,6 +31,9 @@ services: - type: "bind" source: "/var/run/docker.sock" target: "/var/run/docker.sock" + - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" @@ -65,6 +68,9 @@ services: - type: "bind" source: "/var/run/docker.sock" target: "/var/run/docker.sock" + - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" \ No newline at end of file -- cgit 1.2.3-korg