title: Execute some bash script before docker-compose build triggered by command
body: <p>Is there a way before building of docker containers with docker compose to execute a bash script?</p>
  
  <p>something like</p>
  
  <pre><code>version: "3"
  before_script: //execute my local script 
  services:
    database: ....
  </code></pre>