docker4drupal icon indicating copy to clipboard operation
docker4drupal copied to clipboard

Configure version of composer to use (1 vs 2)

Open gertvdb opened this issue 3 years ago • 2 comments

Some packages are not compatible with composer 1 or 2. I can do a composer self-update --2 inside the container after it starts but this could lead to another developer using a different version of composer.

I would be awesome if we could force a composer version in the docker-compose file

gertvdb avatar Jan 26 '21 13:01 gertvdb

I found latest tag has composer 2, so I can switch tags.

https://github.com/wodby/php/issues/121

gertvdb avatar Jan 30 '21 06:01 gertvdb

So I have been doing this, but it wouldn't be too hard to set this up to be configured.

As a simple answer, officially documenting what those tags were in the Readme would be helpful for new users of the project.

devkinetic avatar Nov 02 '21 16:11 devkinetic