Create and build stx-ovs using Debian base image.

Make the openvswitch docker image stx-debian based,
following the new convention for StarlingX docker images.

Test Plan:
PASS - Build stx-ovs debian image
PASS - Manually upload stx-ovs built image to a Standard system,
       use helm-override to change the openvswitch_db_server and
       openvswitch_vswitchd, container images and
       reapply stx-openstack.
PASS - Check if the openstack pods start successfully

Story: 2010072
Task: 46976

Signed-off-by: Rafael Cardoso Pereira <rafael.cardosopereira@windriver.com>
Change-Id: Ic43a47698881a51f0fe70c50365f27b94999228e
This commit is contained in:
Rafael Cardoso Pereira 2022-12-23 14:33:27 -05:00
parent 62cff73857
commit 9c14e562e2
3 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,4 @@
kubernetes/n3000 kubernetes/n3000
virt/libvirt virt/libvirt
database/mariadb database/mariadb
networking/openvswitch

View File

@ -0,0 +1,20 @@
# Expected build arguments:
# BASE: specify base layer
#
ARG BASE
FROM ${BASE}
ENV OVS_VERSION=2.15.0
RUN apt-get -y update \
&& apt-get -y install \
openvswitch-common \
openvswitch-dbg \
openvswitch-dev \
openvswitch-ipsec \
openvswitch-pki \
openvswitch-switch-dpdk \
openvswitch-switch \
openvswitch-testcontroller \
openvswitch-vtep

View File

@ -0,0 +1,2 @@
BUILDER=docker
LABEL=stx-ovs