mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-25 04:40:55 +02:00
Add gmp php extension
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
a3ba284c78
commit
7eb00b62aa
14 changed files with 45 additions and 17 deletions
|
@ -36,10 +36,13 @@ RUN set -ex; \
|
|||
libmagickwand-dev \
|
||||
libzip-dev \
|
||||
libwebp-dev \
|
||||
libgmp-dev \
|
||||
; \
|
||||
\
|
||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
||||
if [ ! -e /usr/include/gmp.h ]; then ln -s /usr/include/$debMultiarch/gmp.h /usr/include/gmp.h; fi;\
|
||||
docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||
docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \
|
||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
exif \
|
||||
|
@ -51,6 +54,7 @@ RUN set -ex; \
|
|||
pdo_mysql \
|
||||
pdo_pgsql \
|
||||
zip \
|
||||
gmp \
|
||||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue