- given I have a build which needs e.g. a postgresql database or a tomcat.
- As can be seen in docker-entrypoint.sh the script looks for init files in
/docker-entrypoint-initdb.d/. Now gitlab-ci starts services in “Prepare” before even cloning the repository as outlined in Workflow.
- Same with the official Tomcat images. Say I want to build a WAR and somehow put it into the
webappsdirectory of a tomcat service.
- I can not figure out how to achieve this (except maybe building specific Docker-images for every service I need).
Any hints are welcome :-).