mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
370 stars 278 forks source link

Ensure composer is allowed to run as root in the builder step #276

Closed mollux closed 5 months ago

mollux commented 5 months ago

Since composer 2.7.0, plugins are no longer loaded if composer is executed as root. This has caused some trouble, both in this repo and in others

This PR addressed this by allowing composer to be executed as superuser. This is not a setting you want to set in production, but in this case of a CI pipeline where that RUN step is executed in a separate stage, this is ok.

I also added a minimal CI file that tests is a PR is buildable based on the latest Mautic 5 dev version