Create Docker image(s)

If you are creating an operator for an OpenStack component or another project that does not provide a docker container, or if you need to modify the base image of an existing container, you first need to create a new project with a Dockerfile under https://gitlab.com/yaook/images.

You can use a repository like Barbican as a reference. To determine which UID and GID to use inside the Dockerfile, increment the ID of the last entry from the table inside Containers.

Make sure you also add the following to the repository:

  • gitlab-ci.yaml with the following jobs:

    • linting:

      • shell linting if the repository includes shell fixes

      • Dockerfile linting [1]

    • Docker build and push

    • Docker manifest creation

    • a test case to verify port connectivity to a running container

    • version bumping

  • default policy files (see Generate OpenStack Policies)

  • LICENSE file of the Apache License