-
Notifications
You must be signed in to change notification settings - Fork 2k
Add support for Composer #17
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
Comments
Closed
The issue
was solved with the PR #16 |
@cdams enabling ssl will most likely have fixed the second problem as well. I'll test but I think that's all. |
If you still have an issue, have a look to my Dockerfile: And you can get the docker image here: ++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Composer is the de facto package manager for PHP. Nearly all (modern) libraries and frameworks rely on it. The current PHP images do not support it, because the openssl exension is missing. While Composer falls back to the git transport method (see second example below), this may not be available for all packages.
One-liner installation
The "recommended" install method, using a one-liner fails:
Dockerfile:
Result:
Manual Installation
Adding it manually (download from https://getcomposer.org/composer.phar) works, but results in warnings. In this case installation proceeds, because git can be used to fetch the source, this may not work for all packages.
Dockerfile:
Result:
The text was updated successfully, but these errors were encountered: