Closed fashxp closed 6 months ago
service "php" can't be used with `extends` as it declare `depends_on`
test-php
extends php
that declare depends_on
v2.24.6
but there is a PR https://github.com/compose-spec/compose-spec/pull/470 that might fix this again...
Which was merged now!
compose/issues#11544 is now resolved and it should work again with v2.26.0
.
Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.
Expected behavior
docker compose works with shipped docker-compose.yaml
Actual behavior
fails with error service "php" can't be used with
extends
as it declaredepends_on
see also https://github.com/docker/compose/issues/11544
Steps to reproduce
create project and run
docker compose up -d
with latest docker compose version