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

Add composer #7

Closed
matt-in-a-hat opened this issue Jun 6, 2017 · 1 comment
Closed

Add composer #7

matt-in-a-hat opened this issue Jun 6, 2017 · 1 comment

Comments

@matt-in-a-hat
Copy link

This image doesn't have composer installed right? Are you able to add it e.g. as done here

# Install composer for PHP dependencies
RUN cd /tmp && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer
@matt-in-a-hat
Copy link
Author

The reasoning for requiring this is that composer checks the system for dependencies (php version, mcrypt, etc), which means that it should be run from within the container else will fail if the host system doesn't meet requirements (or worse - succeed on compose install but fail at runtime due to missing requirements within the container).

brettt89 added a commit that referenced this issue Aug 7, 2017
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

1 participant