Because of the relatively wide variety of possible Docker images, the `Dockerimage` as basis for the build is generated dynamically during the CI/CD process. A small executable `generate-dockerfile` in the root directory helps to produce the target Dockerfile out of a [template](./Dockerfile.template).
You have different options to hack the Docker image generation:
* Call the executable with custom parameters. See [`.gitlab-ci.yml`](./gitlab-ci.yml) for a few ideas.
* Change the template: The template uses a few simple statements from the [tera template language](https://tera.netlify.app/).
* Adapt the executable directly. You can find the source code in the directory [`generate-dockerfile-src`](./generate-dockerfile-src).