From a992f87495a72b4e0962ff73529cf4230cc33893 Mon Sep 17 00:00:00 2001 From: pmikus Date: Fri, 2 Jun 2023 11:52:16 +0000 Subject: fix(dpdk): CX7 support Signed-off-by: pmikus Change-Id: Ib98b25bd3c98b5e6dbcb1bfe8478bd41bf37d71c --- fdio.infra.ansible/roles/docker_images/files/base/Dockerfile | 2 ++ .../roles/docker_images/templates/docker-compose-sut.yaml.j2 | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'fdio.infra.ansible/roles/docker_images') diff --git a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile index 5a0ad8ac45..6f859d90d2 100644 --- a/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile +++ b/fdio.infra.ansible/roles/docker_images/files/base/Dockerfile @@ -33,6 +33,7 @@ RUN apt-get -q update \ libapr1 \ libblas-dev \ libffi-dev \ + libibverbs-dev \ liblapack-dev \ libmbedcrypto7 \ libmbedtls14 \ @@ -57,6 +58,7 @@ RUN apt-get -q update \ python3-setuptools \ python3-virtualenv \ qemu-system \ + rdma-core \ rsyslog \ screen \ socat \ 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 d24ea0236e..79f0f71e58 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 @@ -4,6 +4,8 @@ services: build: context: "base/" dockerfile: "Dockerfile" + cap_add: + - NET_RAW command: ["/usr/sbin/sshd","-D", "-p", "6001"] expose: - "6001" @@ -47,6 +49,8 @@ services: build: context: "base/" dockerfile: "Dockerfile" + cap_add: + - NET_RAW command: ["/usr/sbin/sshd","-D", "-p", "6002"] expose: - "6002" -- cgit 1.2.3-korg