Skip to content

Add support for Magento version 2.4.7 and newer #379

Description

@di-ivanov

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions