gate-utils container image

This container builds a small image with ipcalc for use in both the multinode checks and development.

Manual build

Debian

Here are the instructions for building the default Debian image:

IMAGE="gate-utils"
VERSION=${VERSION:-latest}
DISTRO=${DISTRO:-ubuntu_focal}
REGISTRY_URI=${REGISTRY_URI:-"openstackhelm/"}
EXTRA_TAG_INFO=${EXTRA_TAG_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:

./gate-utils/build.sh

openSUSE Leap 15

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

DISTRO=suse_15 ./gate-utils/build.sh