Is your feature request related to a problem? Please describe.
System requirements for Magento 2.4.7 state composer version 2.9.3+ php-cli image currently has a hard coded version of 2.7.0.
Describe the solution you'd like
Update the composer package manager installed in the php-cli image to a version supported by Magento
Describe alternatives you've considered
As a workaround a developer using the images has to manually update composer before every run of composer command, or container start.
// Manually before a composer command is run
composer self-update 2.9.3
// As part of docker-compose.override.yaml
deploy:
entrypoint: >
bash -c "/docker-entrypoint.sh &&
composer self-update 2.9.3 -q &&
exec \"$@\"" --
Both of those alternatives are sub-optimal
Additional context
Is your feature request related to a problem? Please describe.
System requirements for Magento 2.4.7 state composer version 2.9.3+
php-cliimage currently has a hard coded version of 2.7.0.Describe the solution you'd like
Update the composer package manager installed in the php-cli image to a version supported by Magento
Describe alternatives you've considered
As a workaround a developer using the images has to manually update composer before every run of composer command, or container start.
Both of those alternatives are sub-optimal
Additional context