aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-05-30 07:42:50 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-05-30 07:56:28 +0000
commit57725b2cec2e4b95c22d3cfa3e3191c8e84515d6 (patch)
treedc8a2c84047cf07f3120ea6fde77b9b6f375034d /fdio.infra.ansible
parent1afa716550398b1adb26140ddcc2ffc73607e7a7 (diff)
fix(infra): Add DPDK dependencies
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I9c4b4bd6ed5ed4a34f0c7b25ea948a498fa25fb4 (cherry picked from commit ab282c84ca6b7bc6030123aec11979d9101ffbe9)
Diffstat (limited to 'fdio.infra.ansible')
-rw-r--r--fdio.infra.ansible/roles/docker_images/files/base/Dockerfile1
-rw-r--r--fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j26
2 files changed, 7 insertions, 0 deletions
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
@@ -32,6 +32,9 @@ services:
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/"
numa-1:
@@ -66,5 +69,8 @@ services:
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