Docker-compose in first build-step and commandline in next step
Answered
Hello
I have not found the information I am looking for.
I want to start, if possible, in the first BuildStep a docker-composer with service php and service mysql etc and in the next BuildStep then start tests and scripts in the service php.
Currently I start via a docker run but I would like to use the DB in the docker-compose to encapsulate the test in itself as much as possible.
Is there somewhere a detailed description .
Thanks for all answers
Please sign in to leave a comment.
Hello Mike,
You may want to consider dedicated Docker Compose runner then; it will allow to run a dockerized resource at some point of the build and stop it automatically when the build is over.
Please let me know if there are any details I could assist with.