From 8108a55ea5ab69f0259c65baa7faa98cec26ebd7 Mon Sep 17 00:00:00 2001 From: Jingsheng Wang Date: Wed, 5 Aug 2015 01:09:40 +0800 Subject: [PATCH] Update Dockerfile to install PHP zip extension 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 https://github.com/docker-library/php/issues/60 Also add zip extension to Drupal 7. --- 7/Dockerfile | 2 +- 8/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/7/Dockerfile b/7/Dockerfile index 2dbe6d8c..806b0695 100644 --- a/7/Dockerfile +++ b/7/Dockerfile @@ -7,7 +7,7 @@ RUN a2enmod rewrite RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \ && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ - && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql + && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip WORKDIR /var/www/html diff --git a/8/Dockerfile b/8/Dockerfile index 818347c0..e2ae5046 100644 --- a/8/Dockerfile +++ b/8/Dockerfile @@ -7,7 +7,7 @@ RUN a2enmod rewrite RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \ && rm -rf /var/lib/apt/lists/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ - && docker-php-ext-install gd mbstring opcache pdo pdo_mysql pdo_pgsql + && docker-php-ext-install gd mbstring opcache pdo pdo_mysql pdo_pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php