aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-05-30 07:42:50 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-05-30 07:42:50 +0000
commitab282c84ca6b7bc6030123aec11979d9101ffbe9 (patch)
tree0084679581602e8c1b62046ca4b6d654844ba4c8 /fdio.infra.ansible
parentaabbb03bca1897d2f32f2d65e08c92fe6591835f (diff)
fix(infra): Add DPDK dependencies
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I9c4b4bd6ed5ed4a34f0c7b25ea948a498fa25fb4
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