Reputation: 9055
Is there a way before building of docker containers with docker compose to execute a bash script?
something like
version: "3"
before_script: //execute my local script
services:
database: ....
Upvotes: 28
Views: 14920
Reputation: 1669
No there is not.
you can make a custom bash build script that executes your local script before starting the containers
Upvotes: 23