mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 02:56:42 +01: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
|
@ -20,16 +20,13 @@ RUN set -ex; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
libgmp3-dev \
|
|
||||||
libkrb5-dev \
|
libkrb5-dev \
|
||||||
libsmbclient-dev \
|
libsmbclient-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
|
||||||
ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h; \
|
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
bz2 \
|
bz2 \
|
||||||
gmp \
|
|
||||||
imap \
|
imap \
|
||||||
; \
|
; \
|
||||||
pecl install smbclient; \
|
pecl install smbclient; \
|
||||||
|
|
|
@ -19,13 +19,11 @@ RUN set -ex; \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
samba-dev \
|
samba-dev \
|
||||||
bzip2-dev \
|
bzip2-dev \
|
||||||
gmp-dev \
|
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
bz2 \
|
bz2 \
|
||||||
gmp \
|
|
||||||
imap \
|
imap \
|
||||||
; \
|
; \
|
||||||
pecl install smbclient; \
|
pecl install smbclient; \
|
||||||
|
|
|
@ -20,16 +20,13 @@ RUN set -ex; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
libc-client-dev \
|
libc-client-dev \
|
||||||
libgmp3-dev \
|
|
||||||
libkrb5-dev \
|
libkrb5-dev \
|
||||||
libsmbclient-dev \
|
libsmbclient-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
|
docker-php-ext-configure imap --with-kerberos --with-imap-ssl; \
|
||||||
ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h; \
|
|
||||||
docker-php-ext-install \
|
docker-php-ext-install \
|
||||||
bz2 \
|
bz2 \
|
||||||
gmp \
|
|
||||||
imap \
|
imap \
|
||||||
; \
|
; \
|
||||||
pecl install smbclient; \
|
pecl install smbclient; \
|
||||||
|
|
|
@ -37,10 +37,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -52,11 +55,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -32,6 +32,7 @@ RUN set -ex; \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
imagemagick-dev \
|
imagemagick-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
gmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
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 gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||||
|
@ -46,11 +47,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -37,10 +37,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -52,11 +55,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -37,10 +37,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -52,11 +55,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -32,6 +32,7 @@ RUN set -ex; \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
imagemagick-dev \
|
imagemagick-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
gmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
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 gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||||
|
@ -46,11 +47,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -37,10 +37,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -52,11 +55,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -37,10 +37,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -52,11 +55,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -32,6 +32,7 @@ RUN set -ex; \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
imagemagick-dev \
|
imagemagick-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
gmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
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 gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||||
|
@ -46,11 +47,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -37,10 +37,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -52,11 +55,12 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
pecl install APCu-5.1.17; \
|
pecl install APCu-5.1.17; \
|
||||||
pecl install memcached-3.1.3; \
|
pecl install memcached-3.1.4; \
|
||||||
pecl install redis-4.3.0; \
|
pecl install redis-4.3.0; \
|
||||||
pecl install imagick-3.4.4; \
|
pecl install imagick-3.4.4; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -31,6 +31,7 @@ RUN set -ex; \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
imagemagick-dev \
|
imagemagick-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
gmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
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 gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr; \
|
||||||
|
@ -45,6 +46,7 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
|
|
|
@ -36,10 +36,13 @@ RUN set -ex; \
|
||||||
libmagickwand-dev \
|
libmagickwand-dev \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
|
libgmp-dev \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
|
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 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-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||||
docker-php-ext-install -j "$(nproc)" \
|
docker-php-ext-install -j "$(nproc)" \
|
||||||
exif \
|
exif \
|
||||||
|
@ -51,6 +54,7 @@ RUN set -ex; \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pdo_pgsql \
|
pdo_pgsql \
|
||||||
zip \
|
zip \
|
||||||
|
gmp \
|
||||||
; \
|
; \
|
||||||
\
|
\
|
||||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
|
|
Loading…
Reference in a new issue