Add zip extension

This commit is contained in:
Glenn Y. Rolland 2018-08-10 10:45:12 +02:00
parent a25ab3830e
commit d7a3e9de0a

View file

@ -9,11 +9,13 @@ RUN apt-get update \
libjpeg62-turbo-dev \ libjpeg62-turbo-dev \
libpng-dev \ libpng-dev \
libmysql++-dev \ libmysql++-dev \
zlib1g-dev \
&& apt-get autoremove \ && apt-get autoremove \
&& docker-php-ext-install -j$(nproc) iconv \ && docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \ && docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install pdo pdo_mysql mysqli && docker-php-ext-install pdo pdo_mysql mysqli \
&& docker-php-ext-install zip
RUN curl -sS https://getcomposer.org/installer \ RUN curl -sS https://getcomposer.org/installer \
| php -- --install-dir=/usr/local/bin --filename=composer | php -- --install-dir=/usr/local/bin --filename=composer