From f466dc94e721311ac922474a3bd0080776e3cf9a Mon Sep 17 00:00:00 2001 From: Chris Friesen Date: Tue, 18 Feb 2020 22:32:54 -0500 Subject: [PATCH] Create Docker image for running Intel N3000 FPGA tools This creates a Docker image for the purpose of running the tools needed for programming the N3000 FPGA and querying information from it. The expectation is that this will be run from sysinv, similar to how the airship-armada tools are run. The basic usage of these tools are covered in the following document from Intel: https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-ias-n3000.pdf Change-Id: I94a7fb9fe6b348ced014666b37849691f72766e8 Story: 2006740 Task: 38829 Signed-off-by: Chris Friesen --- centos_stable_docker_images.inc | 1 + kubernetes/n3000/centos/docker/Dockerfile | 9 +++++++++ kubernetes/n3000/centos/n3000-opae.stable_docker_image | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 kubernetes/n3000/centos/docker/Dockerfile create mode 100644 kubernetes/n3000/centos/n3000-opae.stable_docker_image diff --git a/centos_stable_docker_images.inc b/centos_stable_docker_images.inc index 418b2f107..014ca6222 100644 --- a/centos_stable_docker_images.inc +++ b/centos_stable_docker_images.inc @@ -2,4 +2,5 @@ virt/libvirt database/mariadb kubernetes/cni/sriov-cni kubernetes/plugins/sriov-network-device-plugin +kubernetes/n3000 networking/openvswitch diff --git a/kubernetes/n3000/centos/docker/Dockerfile b/kubernetes/n3000/centos/docker/Dockerfile new file mode 100644 index 000000000..16f8ae4c5 --- /dev/null +++ b/kubernetes/n3000/centos/docker/Dockerfile @@ -0,0 +1,9 @@ +ARG BASE +FROM ${BASE} +RUN yum install -y \ + pciutils which hwloc-libs libuuid-devel \ + sysvinit-tools epel-release opae opae.admin && \ + yum install -y python-pip && \ + yum clean all && \ + rm -rf /var/cache/yum +RUN pip install intelhex diff --git a/kubernetes/n3000/centos/n3000-opae.stable_docker_image b/kubernetes/n3000/centos/n3000-opae.stable_docker_image new file mode 100644 index 000000000..15a69c39e --- /dev/null +++ b/kubernetes/n3000/centos/n3000-opae.stable_docker_image @@ -0,0 +1,3 @@ +BUILDER=docker +LABEL=n3000-opae +