Open Enteee opened 6 years ago
Thanks for the bug report!
One workaround (which is definitely not great) is to create an alias for compose/base:down
and make env/base
run first:
alias=cleanup:
tasks: ['env/base', 'compose/base:down']
I think that should work.
The solution for this is not trivial, I think maybe env
needs to be declared separately from other resources since it behaves differently. I need to think about it some more.
Dobi does not seem to resolve dependencies for
compose
-jobs when running the:down
-task.Example
dobi.yaml
nginx/Dockerfile
docker-compose.yml
Usage