shopware/development

composer v2: docker:start breaks due to abandoned hirak/prestissimo package.

Closed this issue · 2 comments

Hi. As described in this issue, the docker container cannot be started, because the package hirak/prestissimo is not compatible with composer v2. The package is not maintained anymore and so there will be no compatibility to composer >= 2.

Maybe it is possible to add a check into the Dockerfile at development/dev-ops/docker/containers/app. Something like adding a script that gets executed inside the Dockerfile, that checks if the composer version is < 2 and then installs the hirak/prestissimo package.

The current workaround would be to remove that part manually, if composer v2 is installed. Then the psh docker:start command executes without errors.

hey
we have an internal PR for that, which will be merged soon

Thanks for your reply, Michael. I'll close the issue then.