Create optimized docker images
UniverSIS is built by many services (api, auth-api, frontends) and when developing in one of the serveices, there is the need for another instance to run. For independent from the auth serveces development, those images would be very useful. Plus there is the need for a bundled docker-build/demo to exist (see https://gitlab.com/universis/universis-docker).
The universis-docker repository is a good start but it is very slow (since it rebuilds every servcice). It would be better if we could create the images with the Dockerfile
s of each service and consume it at that repository to create the docker-compose that creates the whole system (That will give us the super power to control versions of the universis services, by choosing the image we want).
Another stsep that will optimize that procedure is to create those images as multi-stage images. That will allow us to seperate the development depedencies from the final build (see https://docs.docker.com/develop/develop-images/multistage-build/)
Further more, gitlab allows us to host docker images for each repository. We can use that service (see https://gitlab.com/help/user/packages/container_registry/index and https://gitlab.com/universis/universis/container_registry). Plus, when the project is mature enough we can use gitlab to update that registry right from the gitlab CI (see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html)
References https://www.meistertask.com/app/task/5UDezM93/docker-orchestration