Skip to content

Commit 5b3f7db

Browse files
committed
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 docker-library/php#60
1 parent cae697c commit 5b3f7db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN a2enmod rewrite
77
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \
88
&& rm -rf /var/lib/apt/lists/* \
99
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
10-
&& docker-php-ext-install gd mbstring opcache pdo pdo_mysql pdo_pgsql
10+
&& docker-php-ext-install gd mbstring opcache pdo pdo_mysql pdo_pgsql zip
1111

1212
# set recommended PHP.ini settings
1313
# see https://secure.php.net/manual/en/opcache.installation.php

0 commit comments

Comments
 (0)