Uh oh!
There was an error while loading. Please reload this page.
Update Dockerfile to install PHP zip extension - #7
Conversation
skyred
commented
Aug 4, 2015
When run under Drupal/core/ It fails without php zip extension. So, we need php zip extension for Drupal 8. |
yosifkit
commented
Aug 5, 2015
With those backports, do you think it should also be added it to the drupal 7 image as well? |
skyred
commented
Aug 6, 2015
For D7, without Composer, the Core doesn't fail. But, this is Composer Manager statistics https://www.drupal.org/project/usage/composer_manager Currently, there are about 1,500 sites using Composer on D7. I expect this number to increase and more people to use docker. Therefore, I think it's a good idea to add PHP zip extension to D7 image. |
tianon
commented
Aug 11, 2015
Is Composer part of Drupal's core? I can't seem to find any mention of either composer or drush (which is the primary context I see mention of Composer+Drupal in my searching): $ docker run -it --rm drupal bashroot@8f71ce34dd8d:/var/www/html# find -name '*drush*'root@8f71ce34dd8d:/var/www/html# find -name '*composer*'root@8f71ce34dd8d:/var/www/html# grep -rn 'composer'.root@8f71ce34dd8d:/var/www/html# I think the argument that it's used by a majority of modules is compelling, but I want to make sure we don't rush into it. If it is indeed used directly by a compelling number of modules, we should likely add Composer itself to the base image as well, right? |
skyred
commented
Aug 11, 2015
D8 core ships with ./composer.json When people follow the instructions below https://www.drupal.org/node/2405811 This workflow will fail because of #7 (comment) On the other hand, D7 core doesn't have files directly related to Composer |
skyred
commented
Sep 18, 2015
I'd like to point it out, if this image doesn't support php zip (therefore, composer digitalkaoz/composer@3862445) The ways to install many D8 modules are:
|
bojanz
commented
Oct 8, 2015
Composer is here to stay, and will be the only way many modules (such as Commerce, Address) will be installable. It will also eventually replace Drush Make. Not supporting Composer makes this solution unusable for Drupal 8, so I encourage this issue to move forward. |
yosifkit
commented
Oct 8, 2015
Drupal uses Composer a lot; especially Drupal 8, and there are a lot of modules, requiring composer, are being back ported to Drupal 7. Composer use PHP zip extension. Otherwise, see docker-library/php#60 Also add zip extension to Drupal 7.
skyred
commented
Oct 9, 2015
As @yosifkit suggested in #7 (comment) The updated patch is ready for your reviewing |
yosifkit
commented
Oct 9, 2015
LGTM |
1 similar comment
tianon
commented
Oct 9, 2015
LGTM |
Update Dockerfile to install PHP zip extension
- `docker`: 1.8.3, 1.9.0-rc1 - `docker-dev`: 1.8.3 - `drupal`: add PHP zip extension (docker-library/drupal#7) - `httpd`: 2.4.17 - `mariadb`: 5.5.46+maria-1~wheezy - `mongo`: 3.0.7 - `owncloud`: add FPM variants (docker-library/owncloud#28) - `postgres`: explicit uid/gid (docker-library/postgres#93) - `tomcat`: 8.0.28
- `docker`: 1.8.3, 1.9.0-rc1 - `docker-dev`: 1.8.3 - `drupal`: add PHP zip extension (docker-library/drupal#7) - `httpd`: 2.4.17 - `mariadb`: 5.5.46+maria-1~wheezy - `mongo`: 3.0.7 - `owncloud`: add FPM variants (docker-library/owncloud#28) - `postgres`: explicit uid/gid (docker-library/postgres#93) - `tomcat`: 8.0.28
Drupal uses Composer a lot; especially Drupal 8, and there are a lot of modules, requiring composer, are being back ported to Drupal 7. Composer use PHP zip extension. Otherwise, see docker-library/php#60