magento / magento/magento-cloud-docker
Add support for Magento version 2.4.7 and newer
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 277
- Forks
- 187
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where the php-cli image pins its Composer version and review the image build configuration. Update the pinned version to one supported by Magento 2.4.7, then build the image and verify that Composer reports the supported version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, php
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100