I’m currently setting up a Devilbox container with Magento 2.
Magento 2 doesn’t (yet) support Composer 2, which comes pre-installed with Devilbox. So, everytime after closing the container (docker-compose down) and booting it up (docker-compose up) I have to run composer self-update --1, before being able to do any composer related actions.
Is there a way to run this while booting up the container? I checked the documentation, because I was hoping that it’d be a matter of changing an environment variable (just like MySQL and PHP, etc.) but I don’t think it is, is it?
Thanks a lot in advance.
All the best,