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

Magic composer fails at creating Drupal projects #2

Open
pendashteh opened this issue Apr 4, 2020 · 1 comment
Open

Magic composer fails at creating Drupal projects #2

pendashteh opened this issue Apr 4, 2020 · 1 comment

Comments

@pendashteh
Copy link
Owner

Using composer to create a drupal project fails due to lack of gd extension on the provided composer image.

$ magic composer composer create-project drupal-composer/recommended-project

Solution:

# ~/bin/magic-composer
magic composer "apk add --no-cache libpng libpng-dev && docker-php-ext-install gd && apk del libpng-dev && php -m | grep gd && composer ${@}"

and run

$ magic-composer create-project drupal-composer/recommended-project
@pendashteh
Copy link
Owner Author

Copyright: https://stackoverflow.com/a/42100719

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