OpenvSwitch container image

This container builds a small image with OpenvSwitch for use with OpenStack-Helm.

Manual build

Debian

Here are the instructions for building the default Debian image:

IMAGE="openvswitch"
VERSION=${VERSION:-latest}
DISTRO=${DISTRO:-debian}
REGISTRY_URI=${REGISTRY_URI:-"openstackhelm/"}
EXTRA_TAG_INFO=${EXTRA_TAB_INFO:-""}
docker build -f ${IMAGE}/Dockerfile.${DISTRO} --network=host -t ${REGISTRY_URI}${IMAGE}:${VERSION}-${DISTRO}${EXTRA_TAG_INFO} ${extra_build_args} ${IMAGE}

Alternatively, this step can be performed by running the script directly:

./openvswitch/build.sh

openSUSE Leap 15

To build an openSUSE leap 15 image, you can export varibles before running the build script:

DISTRO=suse_15 ./openvswitch/build.sh