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
Use composer 2 in the php-7.4 image for faster installation times #25
Comments
hi @Aimless321 thanks for the suggestion. Composer 2.0 is only possible from Magento 2.4.2 so we would still have the 2.4.1 and 2.4.0 versions on php 7.4. I believe projects like warden essentially now include both versions which may be something we can follow and then decide and runtime which phar to use. |
Ah that's unfortunate, I wasn't aware of that. It would be great if it could be specified with an input, but i'm not sure how difficult that would be to implement. |
Indeed, a variable |
@jissereitsma Another possible way is to put both composer 1 and 2 in the same image and make them available as |
I'm closing this ticket because the mentioned functionality is now merged. |
Since Magento 2.4 is the only Magento version that is compatible with php 7.4, I think it would be possible to switch the composer version for the php 7.4 image to version 2 without breaking backwards compatibility.
This would speedup the installation of Magento and additional packages significantly, and thus make the action a lot faster.
Please let me know what you think, and if necessary I can make a PR.
The text was updated successfully, but these errors were encountered: