Add package and PHP extension to PHP docker

This commit is contained in:
adev 2019-10-27 19:04:04 +01:00
parent ce4c2ead4b
commit 2068b4458d

View file

@ -13,16 +13,21 @@ RUN apt-get update && apt-get install -y \
libsqlite3-dev \ libsqlite3-dev \
imagemagick \ imagemagick \
libmagickwand-dev \ libmagickwand-dev \
libtidy-dev libtidy-dev \
git
RUN docker-php-ext-install \ RUN docker-php-ext-install \
iconv \ iconv \
mbstring \ mbstring \
gd \
intl \ intl \
pdo \ pdo \
pdo_mysql \ pdo_mysql \
pdo_pgsql \ pdo_pgsql \
pdo_sqlite \ pdo_sqlite \
tidy sockets \
tidy \
bcmath \
zip
RUN printf "\n" | pecl install imagick && docker-php-ext-enable imagick RUN printf "\n" | pecl install imagick && docker-php-ext-enable imagick