Open pendashteh opened 4 years ago
Using composer to create a drupal project fails due to lack of gd extension on the provided composer image.
gd
composer
$ 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
Copyright: https://stackoverflow.com/a/42100719
Using composer to create a drupal project fails due to lack of
gd
extension on the providedcomposer
image.Solution:
and run