Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer 2.0.* #76

Closed
mfradcourt opened this issue Oct 27, 2020 · 4 comments
Closed

Composer 2.0.* #76

mfradcourt opened this issue Oct 27, 2020 · 4 comments

Comments

@mfradcourt
Copy link

Could you create a tag for composer 2.0 which has been released on 24 of October. You may also consider tagging a version with composer 1 if it makes sense to you.

Since composer is added to the drupal-php image during the build process, and, the new default version of composer is 2.0.*, simply running the pipeline should do the trick?

@kevinquillen
Copy link

Composer 2 is way faster on Drupal 8/9. I just tried it. Despite it using the installer url for Composer, the PHP tags still seem to ship with Composer 1. Has there been a tagged image since Oct 24th?

I was able to get around it on a test project and try out Composer 2 with:

ARG PHP_TAG
FROM wodby/drupal-php:${PHP_TAG}
USER root
RUN composer self-update --2
USER wodby

The speed is much much better (especially combined with Mutagen) and want to use it right away. For now it seems like I need to use my own Dockerfile to get it.

Will there be an update this week?

@csandanov
Copy link
Member

Currently tests fail with composer 2 because drupal console does not yet support it hechoendrupal/drupal-console-extend-plugin#23

@kevinquillen
Copy link

kevinquillen commented Nov 2, 2020

I usually add Drush via Composer to projects and don't use Drupal Console at all. Is it wise for this image to couple itself to Drupal Console? Commits are sporadic and as far as I understand it is not very active, and Composer 2 is too good to not have.

@csandanov
Copy link
Member

latest and 4.19.0+ now come with composer 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants