Skip to content

Commit 3bf8afa

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 2f4d78a commit 3bf8afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN a2enmod rewrite
66
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \
77
&& rm -rf /var/lib/apt/lists/* \
88
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
9-
&& docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql
9+
&& docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip
1010

1111
WORKDIR /var/www/html
1212

0 commit comments

Comments
 (0)