-
Notifications
You must be signed in to change notification settings - Fork 10
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
Install composer in php container? #5
Comments
There are pros and cons of having them in different containers, it's more of a personal choice I guess. Pros of having different containers:
Cons:
|
In my case, this was the (breaking) con. For example, my project requires the bcmath extension to be installed. I rely on composer to ensure that the current environment has that installed. I was also getting this console output when using the composer container. Maybe it was using composer 2 or something that no longer has the flag? I'm not sure, I didn't dig into it. The "--ignore-platform-reqs" option does not exist.
The options (as I see them) are to:
|
Do we need an additional container just for composer? I have several extensions I am installing in my php container, which should also be installed in the composer container. I personally am going to remove the composer container. What is the main benefit of having a container just for composer?
The text was updated successfully, but these errors were encountered: