From 427cc3fff67f77b515db61a5c75517ff8ef18fad Mon Sep 17 00:00:00 2001 From: cytopia Date: Wed, 7 Nov 2018 12:03:35 +0100 Subject: [PATCH 1/2] Fix igbinary for PHP 5.3 --- Dockerfiles/mods/Dockerfile-5.2 | 106 +++++++-------- Dockerfiles/mods/Dockerfile-5.3 | 126 +++++++++--------- Dockerfiles/mods/Dockerfile-5.4 | 128 +++++++++---------- Dockerfiles/mods/Dockerfile-5.5 | 124 +++++++++--------- Dockerfiles/mods/Dockerfile-5.6 | 124 +++++++++--------- Dockerfiles/mods/Dockerfile-7.0 | 126 +++++++++--------- Dockerfiles/mods/Dockerfile-7.1 | 124 +++++++++--------- Dockerfiles/mods/Dockerfile-7.2 | 124 +++++++++--------- Dockerfiles/mods/Dockerfile-7.3 | 115 +++++++++-------- Dockerfiles/mods/Dockerfile-7.4 | 111 ++++++++-------- build/ansible/DOCKERFILES/Dockerfile-mods.j2 | 20 +-- build/ansible/group_vars/all.yml | 47 +++---- 12 files changed, 637 insertions(+), 638 deletions(-) diff --git a/Dockerfiles/mods/Dockerfile-5.2 b/Dockerfiles/mods/Dockerfile-5.2 index b0f89df4..df09007f 100644 --- a/Dockerfiles/mods/Dockerfile-5.2 +++ b/Dockerfiles/mods/Dockerfile-5.2 @@ -90,7 +90,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_5.2.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -101,51 +101,51 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && pecl install amqp-1.4.0 >/dev/null\ + && pecl install amqp-1.4.0 \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && echo "/usr" | pecl install enchant >/dev/null \ + && echo "/usr" | pecl install enchant \ && docker-php-ext-enable enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: fileinfo ---- - && pecl install fileinfo >/dev/null\ + && pecl install fileinfo \ && docker-php-ext-enable fileinfo \ && (rm -rf /usr/local/lib/php/test/fileinfo || true) \ && (rm -rf /usr/local/lib/php/doc/fileinfo || true) \ \ # ---- Installing PHP Extension: ftp ---- - && /usr/local/bin/docker-php-ext-configure ftp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ftp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ftp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ftp \ && (rm -rf /usr/local/lib/php/test/ftp || true) \ && (rm -rf /usr/local/lib/php/doc/ftp || true) \ \ @@ -156,198 +156,198 @@ ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ && \ mkdir /usr/include/freetype2/freetype && \ ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary-2.0.7 >/dev/null\ + && pecl install igbinary-2.0.7 \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && pecl install intl >/dev/null\ + && pecl install intl \ && docker-php-ext-enable intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ # ---- Installing PHP Extension: memcache ---- - && pecl install memcache >/dev/null \ + && pecl install memcache \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached-2.1.0 >/dev/null\ + && pecl install memcached-2.1.0 \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongo ---- - && yes | pecl install mongo-1.5.8 >/dev/null \ + && yes | pecl install mongo-1.5.8 \ && docker-php-ext-enable mongo \ && (rm -rf /usr/local/lib/php/test/mongo || true) \ && (rm -rf /usr/local/lib/php/doc/mongo || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack-0.5.7 >/dev/null\ + && pecl install msgpack-0.5.7 \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: opcache ---- - && pecl install zendopcache >/dev/null \ + && pecl install zendopcache \ && docker-php-ext-enable opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ # ---- Installing PHP Extension: phar ---- - && pecl install phar >/dev/null\ + && pecl install phar \ && docker-php-ext-enable phar \ && (rm -rf /usr/local/lib/php/test/phar || true) \ && (rm -rf /usr/local/lib/php/doc/phar || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis-2.2.7 >/dev/null\ + && pecl install redis-2.2.7 \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ # ---- Installing PHP Extension: uploadprogress ---- - && pecl install uploadprogress >/dev/null \ + && pecl install uploadprogress \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug-2.2.7 >/dev/null\ + && pecl install xdebug-2.2.7 \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-5.3 b/Dockerfiles/mods/Dockerfile-5.3 index 3df2736b..5814aefc 100644 --- a/Dockerfiles/mods/Dockerfile-5.3 +++ b/Dockerfiles/mods/Dockerfile-5.3 @@ -95,7 +95,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_5.3.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -106,187 +106,187 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu-4.0.11 >/dev/null\ + && pecl install apcu-4.0.11 \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: ftp ---- - && /usr/local/bin/docker-php-ext-configure ftp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ftp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ftp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ftp \ && (rm -rf /usr/local/lib/php/test/ftp || true) \ && (rm -rf /usr/local/lib/php/doc/ftp || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ && mkdir /usr/include/freetype2/freetype && ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary-2.0.7 \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick-3.3.0 >/dev/null\ + && pecl install imagick-3.3.0 \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mbstring ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mbstring >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mbstring \ && (rm -rf /usr/local/lib/php/test/mbstring || true) \ && (rm -rf /usr/local/lib/php/doc/mbstring || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ # ---- Installing PHP Extension: memcache ---- - && pecl install memcache >/dev/null \ + && pecl install memcache \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached-2.2.0 >/dev/null\ + && pecl install memcached-2.2.0 \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongo ---- - && yes | pecl install mongo > /dev/null \ + && yes | pecl install mongo \ && docker-php-ext-enable mongo \ && (rm -rf /usr/local/lib/php/test/mongo || true) \ && (rm -rf /usr/local/lib/php/doc/mongo || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb-0.6.3 >/dev/null\ + && pecl install mongodb-0.6.3 \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack-0.5.7 >/dev/null\ + && pecl install msgpack-0.5.7 \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && pecl install zendopcache >/dev/null \ + && pecl install zendopcache \ && docker-php-ext-enable opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -294,108 +294,108 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout phalcon-v2.0.9 \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole-1.9.23 >/dev/null\ + && pecl install swoole-1.9.23 \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ # ---- Installing PHP Extension: uploadprogress ---- - && pecl install uploadprogress >/dev/null \ + && pecl install uploadprogress \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug-2.2.7 >/dev/null\ + && pecl install xdebug-2.2.7 \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-5.4 b/Dockerfiles/mods/Dockerfile-5.4 index 5e5219f3..9075b57c 100644 --- a/Dockerfiles/mods/Dockerfile-5.4 +++ b/Dockerfiles/mods/Dockerfile-5.4 @@ -95,7 +95,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_5.4.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -106,192 +106,192 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu-4.0.11 >/dev/null\ + && pecl install apcu-4.0.11 \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: ftp ---- - && /usr/local/bin/docker-php-ext-configure ftp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install ftp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ftp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install ftp \ && (rm -rf /usr/local/lib/php/test/ftp || true) \ && (rm -rf /usr/local/lib/php/doc/ftp || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null\ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mbstring ---- - && /usr/local/bin/docker-php-ext-install mbstring >/dev/null \ + && /usr/local/bin/docker-php-ext-install mbstring \ && (rm -rf /usr/local/lib/php/test/mbstring || true) \ && (rm -rf /usr/local/lib/php/doc/mbstring || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ # ---- Installing PHP Extension: memcache ---- - && pecl install memcache >/dev/null \ + && pecl install memcache \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached-2.2.0 >/dev/null\ + && pecl install memcached-2.2.0 \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongo ---- - && yes | pecl install mongo > /dev/null \ + && yes | pecl install mongo \ && docker-php-ext-enable mongo \ && (rm -rf /usr/local/lib/php/test/mongo || true) \ && (rm -rf /usr/local/lib/php/doc/mongo || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb-1.2.11 >/dev/null\ + && pecl install mongodb-1.2.11 \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack-0.5.7 >/dev/null\ + && pecl install msgpack-0.5.7 \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysql ---- - && /usr/local/bin/docker-php-ext-install mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-install mysql \ && (rm -rf /usr/local/lib/php/test/mysql || true) \ && (rm -rf /usr/local/lib/php/doc/mysql || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && pecl install zendopcache >/dev/null \ + && pecl install zendopcache \ && docker-php-ext-enable opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -299,108 +299,108 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout phalcon-v2.0.13 \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole-1.9.23 >/dev/null\ + && pecl install swoole-1.9.23 \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ # ---- Installing PHP Extension: uploadprogress ---- - && pecl install uploadprogress >/dev/null \ + && pecl install uploadprogress \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug-2.4.1 >/dev/null\ + && pecl install xdebug-2.4.1 \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr \ + && /usr/local/bin/docker-php-ext-install zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-5.5 b/Dockerfiles/mods/Dockerfile-5.5 index f3910488..58f92a62 100644 --- a/Dockerfiles/mods/Dockerfile-5.5 +++ b/Dockerfiles/mods/Dockerfile-5.5 @@ -96,7 +96,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_5.5.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -107,180 +107,180 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu-4.0.11 >/dev/null\ + && pecl install apcu-4.0.11 \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null\ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ # ---- Installing PHP Extension: memcache ---- - && pecl install memcache >/dev/null \ + && pecl install memcache \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached-2.2.0 >/dev/null\ + && pecl install memcached-2.2.0 \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongo ---- - && yes | pecl install mongo > /dev/null \ + && yes | pecl install mongo \ && docker-php-ext-enable mongo \ && (rm -rf /usr/local/lib/php/test/mongo || true) \ && (rm -rf /usr/local/lib/php/doc/mongo || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack-0.5.7 >/dev/null\ + && pecl install msgpack-0.5.7 \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql \ && (rm -rf /usr/local/lib/php/test/mysql || true) \ && (rm -rf /usr/local/lib/php/doc/mysql || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -288,113 +288,113 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole-1.9.23 >/dev/null\ + && pecl install swoole-1.9.23 \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ # ---- Installing PHP Extension: uploadprogress ---- - && pecl install uploadprogress >/dev/null \ + && pecl install uploadprogress \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug-2.4.1 >/dev/null\ + && pecl install xdebug-2.4.1 \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-5.6 b/Dockerfiles/mods/Dockerfile-5.6 index ccdfac1e..a14b977f 100644 --- a/Dockerfiles/mods/Dockerfile-5.6 +++ b/Dockerfiles/mods/Dockerfile-5.6 @@ -100,7 +100,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_5.6.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -111,180 +111,180 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu-4.0.11 >/dev/null\ + && pecl install apcu-4.0.11 \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null \ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ # ---- Installing PHP Extension: memcache ---- - && pecl install memcache >/dev/null \ + && pecl install memcache \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached-2.2.0 >/dev/null\ + && pecl install memcached-2.2.0 \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongo ---- - && yes | pecl install mongo > /dev/null \ + && yes | pecl install mongo \ && docker-php-ext-enable mongo \ && (rm -rf /usr/local/lib/php/test/mongo || true) \ && (rm -rf /usr/local/lib/php/doc/mongo || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack-0.5.7 >/dev/null\ + && pecl install msgpack-0.5.7 \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql \ && (rm -rf /usr/local/lib/php/test/mysql || true) \ && (rm -rf /usr/local/lib/php/doc/mysql || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -292,113 +292,113 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole-1.9.23 >/dev/null\ + && pecl install swoole-1.9.23 \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ # ---- Installing PHP Extension: uploadprogress ---- - && pecl install uploadprogress >/dev/null \ + && pecl install uploadprogress \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug-2.4.1 >/dev/null\ + && pecl install xdebug-2.4.1 \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-7.0 b/Dockerfiles/mods/Dockerfile-7.0 index 1a467741..144f96af 100644 --- a/Dockerfiles/mods/Dockerfile-7.0 +++ b/Dockerfiles/mods/Dockerfile-7.0 @@ -99,7 +99,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_7.0.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -110,103 +110,103 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu >/dev/null \ + && pecl install apcu \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null \ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ @@ -214,75 +214,75 @@ RUN set -x \ && git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \ && cd /tmp/memcache \ && phpize \ - && ./configure --with-zlib-dir=/usr >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --with-zlib-dir=/usr \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached >/dev/null \ + && pecl install memcached \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack >/dev/null \ + && pecl install msgpack \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo \ && (rm -rf /usr/local/lib/php/test/pdo || true) \ && (rm -rf /usr/local/lib/php/doc/pdo || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -290,78 +290,78 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole >/dev/null \ + && pecl install swoole \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ @@ -369,39 +369,39 @@ RUN set -x \ && git clone https://github.com/php/pecl-php-uploadprogress /tmp/uploadprogress \ && cd /tmp/uploadprogress \ && phpize \ - && ./configure --enable-uploadprogress >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --enable-uploadprogress \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug >/dev/null \ + && pecl install xdebug \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-7.1 b/Dockerfiles/mods/Dockerfile-7.1 index 19b5664e..3dbe7488 100644 --- a/Dockerfiles/mods/Dockerfile-7.1 +++ b/Dockerfiles/mods/Dockerfile-7.1 @@ -99,7 +99,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_7.1.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -110,103 +110,103 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu >/dev/null \ + && pecl install apcu \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --enable-gd-native-ttf \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null \ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ \ @@ -214,70 +214,70 @@ RUN set -x \ && git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \ && cd /tmp/memcache \ && phpize \ - && ./configure --with-zlib-dir=/usr >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --with-zlib-dir=/usr \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached >/dev/null \ + && pecl install memcached \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack >/dev/null \ + && pecl install msgpack \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -285,78 +285,78 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole >/dev/null \ + && pecl install swoole \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ @@ -364,39 +364,39 @@ RUN set -x \ && git clone https://github.com/php/pecl-php-uploadprogress /tmp/uploadprogress \ && cd /tmp/uploadprogress \ && phpize \ - && ./configure --enable-uploadprogress >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --enable-uploadprogress \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug >/dev/null \ + && pecl install xdebug \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-7.2 b/Dockerfiles/mods/Dockerfile-7.2 index 5cf4d02e..b9c71404 100644 --- a/Dockerfiles/mods/Dockerfile-7.2 +++ b/Dockerfiles/mods/Dockerfile-7.2 @@ -99,7 +99,7 @@ RUN set -x \ && EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ -&& tar xvfz ioncube.tar.gz >/dev/null \ +&& tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_7.2.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -110,103 +110,103 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/ioncube || true) \ \ # ---- Installing PHP Extension: amqp ---- - && echo "/usr" | pecl install amqp >/dev/null \ + && echo "/usr" | pecl install amqp \ && docker-php-ext-enable amqp \ && (rm -rf /usr/local/lib/php/test/amqp || true) \ && (rm -rf /usr/local/lib/php/doc/amqp || true) \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu >/dev/null \ + && pecl install apcu \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null \ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && pecl install mcrypt-1.0.1 >/dev/null\ + && pecl install mcrypt-1.0.1 \ && docker-php-ext-enable mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ @@ -215,70 +215,70 @@ RUN set -x \ && git clone https://github.com/websupport-sk/pecl-memcache /tmp/memcache \ && cd /tmp/memcache \ && phpize \ - && ./configure --with-zlib-dir=/usr >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --with-zlib-dir=/usr \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable memcache \ && (rm -rf /usr/local/lib/php/test/memcache || true) \ && (rm -rf /usr/local/lib/php/doc/memcache || true) \ \ # ---- Installing PHP Extension: memcached ---- - && pecl install memcached >/dev/null \ + && pecl install memcached \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: msgpack ---- - && pecl install msgpack >/dev/null \ + && pecl install msgpack \ && docker-php-ext-enable msgpack \ && (rm -rf /usr/local/lib/php/test/msgpack || true) \ && (rm -rf /usr/local/lib/php/doc/msgpack || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ @@ -286,78 +286,78 @@ RUN set -x \ && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \ - && cd build && ./install >/dev/null \ + && cd build && ./install \ && docker-php-ext-enable phalcon \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ # ---- Installing PHP Extension: swoole ---- - && pecl install swoole >/dev/null \ + && pecl install swoole \ && docker-php-ext-enable swoole \ && (rm -rf /usr/local/lib/php/test/swoole || true) \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ @@ -365,39 +365,39 @@ RUN set -x \ && git clone https://github.com/php/pecl-php-uploadprogress /tmp/uploadprogress \ && cd /tmp/uploadprogress \ && phpize \ - && ./configure --enable-uploadprogress >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --enable-uploadprogress \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xdebug ---- - && pecl install xdebug >/dev/null \ + && pecl install xdebug \ && docker-php-ext-enable xdebug \ && (rm -rf /usr/local/lib/php/test/xdebug || true) \ && (rm -rf /usr/local/lib/php/doc/xdebug || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-7.3 b/Dockerfiles/mods/Dockerfile-7.3 index 085cba2c..f1353e34 100644 --- a/Dockerfiles/mods/Dockerfile-7.3 +++ b/Dockerfiles/mods/Dockerfile-7.3 @@ -97,97 +97,97 @@ RUN set -x \ \ \ # ---- Installing PHP Extension: apcu ---- - && pecl install apcu >/dev/null \ + && pecl install apcu \ && docker-php-ext-enable apcu \ && (rm -rf /usr/local/lib/php/test/apcu || true) \ && (rm -rf /usr/local/lib/php/doc/apcu || true) \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imagick ---- - && pecl install imagick >/dev/null \ + && pecl install imagick \ && docker-php-ext-enable imagick \ && (rm -rf /usr/local/lib/php/test/imagick || true) \ && (rm -rf /usr/local/lib/php/doc/imagick || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ # ---- Installing PHP Extension: mcrypt ---- - && pecl install mcrypt-1.0.1 >/dev/null\ + && pecl install mcrypt-1.0.1 \ && docker-php-ext-enable mcrypt \ && (rm -rf /usr/local/lib/php/test/mcrypt || true) \ && (rm -rf /usr/local/lib/php/doc/mcrypt || true) \ @@ -196,100 +196,100 @@ RUN set -x \ && git clone https://github.com/php-memcached-dev/php-memcached /tmp/memcached \ && cd /tmp/memcached \ && git checkout master \ - && phpize && ./configure --enable-memcached >/dev/null && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null && make install \ + && phpize && ./configure --enable-memcached && make -j$(getconf _NPROCESSORS_ONLN) && make install \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ # ---- Installing PHP Extension: redis ---- - && pecl install redis >/dev/null \ + && pecl install redis \ && docker-php-ext-enable redis \ && (rm -rf /usr/local/lib/php/test/redis || true) \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ @@ -300,11 +300,11 @@ RUN set -x \ && git checkout $(git describe --abbrev=0 --tags) \ && git submodule update --init --recursive \ #`&& cd thirdparty/hiredis` \ -#`&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null` \ +#`&& make -j$(getconf _NPROCESSORS_ONLN)` \ #`&& make install` \ #`&& cd ../../` \ && cd thirdparty/nghttp2 \ -&& cmake . >/dev/null \ +&& cmake . \ && make install \ && ldconfig \ && cd ../.. \ @@ -329,8 +329,7 @@ RUN set -x \ #`--enable-http2` \ #`--enable-sockets` \ #`--with-libpq-dir=/usr/include/postgresql/libpq/` \ - >/dev/null \ -&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ +&& make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ \ && docker-php-ext-enable swoole \ @@ -338,22 +337,22 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ @@ -361,33 +360,33 @@ RUN set -x \ && git clone https://github.com/php/pecl-php-uploadprogress /tmp/uploadprogress \ && cd /tmp/uploadprogress \ && phpize \ - && ./configure --enable-uploadprogress >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --enable-uploadprogress \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/Dockerfiles/mods/Dockerfile-7.4 b/Dockerfiles/mods/Dockerfile-7.4 index b6c62704..c8c7061a 100644 --- a/Dockerfiles/mods/Dockerfile-7.4 +++ b/Dockerfiles/mods/Dockerfile-7.4 @@ -93,80 +93,80 @@ RUN set -x \ \ \ # ---- Installing PHP Extension: bcmath ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ && (rm -rf /usr/local/lib/php/test/bcmath || true) \ && (rm -rf /usr/local/lib/php/doc/bcmath || true) \ \ # ---- Installing PHP Extension: bz2 ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ && (rm -rf /usr/local/lib/php/test/bz2 || true) \ && (rm -rf /usr/local/lib/php/doc/bz2 || true) \ \ # ---- Installing PHP Extension: calendar ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ && (rm -rf /usr/local/lib/php/test/calendar || true) \ && (rm -rf /usr/local/lib/php/doc/calendar || true) \ \ # ---- Installing PHP Extension: dba ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ && (rm -rf /usr/local/lib/php/test/dba || true) \ && (rm -rf /usr/local/lib/php/doc/dba || true) \ \ # ---- Installing PHP Extension: enchant ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ && (rm -rf /usr/local/lib/php/test/enchant || true) \ && (rm -rf /usr/local/lib/php/doc/enchant || true) \ \ # ---- Installing PHP Extension: exif ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ && (rm -rf /usr/local/lib/php/test/exif || true) \ && (rm -rf /usr/local/lib/php/doc/exif || true) \ \ # ---- Installing PHP Extension: gd ---- && ln -s /usr/lib/x86_64-linux-gnu/libXpm.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd >/dev/null \ + && /usr/local/bin/docker-php-ext-configure gd --with-gd --with-webp-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ && (rm -rf /usr/local/lib/php/test/gd || true) \ && (rm -rf /usr/local/lib/php/doc/gd || true) \ \ # ---- Installing PHP Extension: gettext ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ && (rm -rf /usr/local/lib/php/test/gettext || true) \ && (rm -rf /usr/local/lib/php/doc/gettext || true) \ \ # ---- Installing PHP Extension: gmp ---- && ln /usr/include/x86_64-linux-gnu/gmp.h /usr/include/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ && (rm -rf /usr/local/lib/php/test/gmp || true) \ && (rm -rf /usr/local/lib/php/doc/gmp || true) \ \ # ---- Installing PHP Extension: igbinary ---- - && pecl install igbinary >/dev/null \ + && pecl install igbinary \ && docker-php-ext-enable igbinary \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ && (rm -rf /usr/local/lib/php/test/imap || true) \ && (rm -rf /usr/local/lib/php/doc/imap || true) \ \ # ---- Installing PHP Extension: interbase ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ && (rm -rf /usr/local/lib/php/test/interbase || true) \ && (rm -rf /usr/local/lib/php/doc/interbase || true) \ \ # ---- Installing PHP Extension: intl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ && (rm -rf /usr/local/lib/php/test/intl || true) \ && (rm -rf /usr/local/lib/php/doc/intl || true) \ \ # ---- Installing PHP Extension: ldap ---- && ln -s /usr/lib/x86_64-linux-gnu/libldap* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ && (rm -rf /usr/local/lib/php/test/ldap || true) \ && (rm -rf /usr/local/lib/php/doc/ldap || true) \ \ @@ -174,66 +174,66 @@ RUN set -x \ && git clone https://github.com/php-memcached-dev/php-memcached /tmp/memcached \ && cd /tmp/memcached \ && git checkout master \ - && phpize && ./configure --enable-memcached >/dev/null && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null && make install \ + && phpize && ./configure --enable-memcached && make -j$(getconf _NPROCESSORS_ONLN) && make install \ && docker-php-ext-enable memcached \ && (rm -rf /usr/local/lib/php/test/memcached || true) \ && (rm -rf /usr/local/lib/php/doc/memcached || true) \ \ # ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb >/dev/null \ + && pecl install mongodb \ && docker-php-ext-enable mongodb \ && (rm -rf /usr/local/lib/php/test/mongodb || true) \ && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ \ # ---- Installing PHP Extension: mysqli ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ && (rm -rf /usr/local/lib/php/test/mysqli || true) \ && (rm -rf /usr/local/lib/php/doc/mysqli || true) \ \ # ---- Installing PHP Extension: opcache ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ && (rm -rf /usr/local/lib/php/test/opcache || true) \ && (rm -rf /usr/local/lib/php/doc/opcache || true) \ \ # ---- Installing PHP Extension: pcntl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ && (rm -rf /usr/local/lib/php/test/pcntl || true) \ && (rm -rf /usr/local/lib/php/doc/pcntl || true) \ \ # ---- Installing PHP Extension: pdo_dblib ---- && ln -s /usr/lib/x86_64-linux-gnu/libsybdb.* /usr/lib/ \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ && (rm -rf /usr/local/lib/php/test/pdo_dblib || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_dblib || true) \ \ # ---- Installing PHP Extension: pdo_firebird ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ && (rm -rf /usr/local/lib/php/test/pdo_firebird || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_firebird || true) \ \ # ---- Installing PHP Extension: pdo_mysql ---- - && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql >/dev/null \ + && /usr/local/bin/docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ && (rm -rf /usr/local/lib/php/test/pdo_mysql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_mysql || true) \ \ # ---- Installing PHP Extension: pdo_pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ && (rm -rf /usr/local/lib/php/test/pdo_pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pdo_pgsql || true) \ \ # ---- Installing PHP Extension: pgsql ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ # ---- Installing PHP Extension: pspell ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/doc/pspell || true) \ \ # ---- Installing PHP Extension: recode ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) recode \ && (rm -rf /usr/local/lib/php/test/recode || true) \ && (rm -rf /usr/local/lib/php/doc/recode || true) \ \ @@ -244,8 +244,8 @@ RUN set -x \ && sed -i'' 's/ZEND_ACC_CTOR | //g' redis.c \ && sed -i'' 's/ZEND_ACC_DTOR | //g' redis.c \ && sed -i'' 's/ZEND_ACC_CTOR | //g' redis_cluster.c \ -&& ./configure >/dev/null \ -&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ +&& ./configure \ +&& make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ \ && docker-php-ext-enable redis \ @@ -253,30 +253,30 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/redis || true) \ \ # ---- Installing PHP Extension: rdkafka ---- - && pecl install rdkafka >/dev/null \ + && pecl install rdkafka \ && docker-php-ext-enable rdkafka \ && (rm -rf /usr/local/lib/php/test/rdkafka || true) \ && (rm -rf /usr/local/lib/php/doc/rdkafka || true) \ \ # ---- Installing PHP Extension: shmop ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ && (rm -rf /usr/local/lib/php/test/shmop || true) \ && (rm -rf /usr/local/lib/php/doc/shmop || true) \ \ # ---- Installing PHP Extension: snmp ---- - && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp >/dev/null \ + && /usr/local/bin/docker-php-ext-configure snmp --with-openssl-dir \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ && (rm -rf /usr/local/lib/php/test/snmp || true) \ && (rm -rf /usr/local/lib/php/doc/snmp || true) \ \ # ---- Installing PHP Extension: soap ---- - && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap >/dev/null \ + && /usr/local/bin/docker-php-ext-configure soap --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ && (rm -rf /usr/local/lib/php/test/soap || true) \ && (rm -rf /usr/local/lib/php/doc/soap || true) \ \ # ---- Installing PHP Extension: sockets ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ @@ -287,11 +287,11 @@ RUN set -x \ && git checkout $(git describe --abbrev=0 --tags) \ && git submodule update --init --recursive \ #`&& cd thirdparty/hiredis` \ -#`&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null` \ +#`&& make -j$(getconf _NPROCESSORS_ONLN)` \ #`&& make install` \ #`&& cd ../../` \ && cd thirdparty/nghttp2 \ -&& cmake . >/dev/null \ +&& cmake . \ && make install \ && ldconfig \ && cd ../.. \ @@ -316,8 +316,7 @@ RUN set -x \ #`--enable-http2` \ #`--enable-sockets` \ #`--with-libpq-dir=/usr/include/postgresql/libpq/` \ - >/dev/null \ -&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ +&& make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ \ && docker-php-ext-enable swoole \ @@ -325,22 +324,22 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/doc/swoole || true) \ \ # ---- Installing PHP Extension: sysvmsg ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ && (rm -rf /usr/local/lib/php/doc/sysvmsg || true) \ \ # ---- Installing PHP Extension: sysvsem ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ && (rm -rf /usr/local/lib/php/test/sysvsem || true) \ && (rm -rf /usr/local/lib/php/doc/sysvsem || true) \ \ # ---- Installing PHP Extension: sysvshm ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ && (rm -rf /usr/local/lib/php/test/sysvshm || true) \ && (rm -rf /usr/local/lib/php/doc/sysvshm || true) \ \ # ---- Installing PHP Extension: tidy ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ && (rm -rf /usr/local/lib/php/test/tidy || true) \ && (rm -rf /usr/local/lib/php/doc/tidy || true) \ \ @@ -348,33 +347,33 @@ RUN set -x \ && git clone https://github.com/php/pecl-php-uploadprogress /tmp/uploadprogress \ && cd /tmp/uploadprogress \ && phpize \ - && ./configure --enable-uploadprogress >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure --enable-uploadprogress \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ && docker-php-ext-enable uploadprogress \ && (rm -rf /usr/local/lib/php/test/uploadprogress || true) \ && (rm -rf /usr/local/lib/php/doc/uploadprogress || true) \ \ # ---- Installing PHP Extension: wddx ---- - && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx >/dev/null \ + && /usr/local/bin/docker-php-ext-configure wddx --with-libxml-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ && (rm -rf /usr/local/lib/php/test/wddx || true) \ && (rm -rf /usr/local/lib/php/doc/wddx || true) \ \ # ---- Installing PHP Extension: xmlrpc ---- - && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc >/dev/null \ + && /usr/local/bin/docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ && (rm -rf /usr/local/lib/php/test/xmlrpc || true) \ && (rm -rf /usr/local/lib/php/doc/xmlrpc || true) \ \ # ---- Installing PHP Extension: xsl ---- - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl >/dev/null \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ && (rm -rf /usr/local/lib/php/test/xsl || true) \ && (rm -rf /usr/local/lib/php/doc/xsl || true) \ \ # ---- Installing PHP Extension: zip ---- - && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip >/dev/null \ - && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip >/dev/null \ + && /usr/local/bin/docker-php-ext-configure zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip \ + && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ && (rm -rf /usr/local/lib/php/test/zip || true) \ && (rm -rf /usr/local/lib/php/doc/zip || true) \ \ diff --git a/build/ansible/DOCKERFILES/Dockerfile-mods.j2 b/build/ansible/DOCKERFILES/Dockerfile-mods.j2 index ad15428b..d2a1e3fa 100644 --- a/build/ansible/DOCKERFILES/Dockerfile-mods.j2 +++ b/build/ansible/DOCKERFILES/Dockerfile-mods.j2 @@ -100,15 +100,15 @@ RUN set -x \ {# ---- 1.) Builtin ---- #} {% if extensions_available[ext][php_version]['type'] == 'builtin' %} {% if 'configure' in extensions_available[ext][php_version] %} - && /usr/local/bin/docker-php-ext-configure {{ ext }} {{ extensions_available[ext][php_version]['configure'] }} >/dev/null \ + && /usr/local/bin/docker-php-ext-configure {{ ext }} {{ extensions_available[ext][php_version]['configure'] }} \ {% endif %} - && /usr/local/bin/docker-php-ext-install{% if php_version != 5.4 %} -j$(getconf _NPROCESSORS_ONLN){% endif %} {{ ext }} >/dev/null \ + && /usr/local/bin/docker-php-ext-install{% if php_version != 5.4 %} -j$(getconf _NPROCESSORS_ONLN){% endif %} {{ ext }} \ {# ---- 2.) PECL ---- #} {% elif extensions_available[ext][php_version]['type'] == 'pecl' %} {% if 'command' in extensions_available[ext][php_version] %} && {{ extensions_available[ext][php_version]['command'] }} \ {% else %} - && pecl install {{ ext }}{% if 'version' in extensions_available[ext][php_version] %}-{{ extensions_available[ext][php_version]['version'] }}{% endif %} >/dev/null\ + && pecl install {{ ext }}{% if 'version' in extensions_available[ext][php_version] %}-{{ extensions_available[ext][php_version]['version'] }}{% endif %} \ {% endif %} && docker-php-ext-enable {{ ext }} \ {# ---- 3.) GIT ---- #} @@ -122,8 +122,8 @@ RUN set -x \ && {{ extensions_available[ext][php_version]['command'] }} \ {% else %} && phpize \ - && ./configure {% if 'configure' in extensions_available[ext][php_version] %} {{ extensions_available[ext][php_version]['configure'] }}{% endif %} >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure {% if 'configure' in extensions_available[ext][php_version] %} {{ extensions_available[ext][php_version]['configure'] }}{% endif %} \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ {% endif %} && docker-php-ext-enable {{ ext }} \ @@ -136,15 +136,15 @@ RUN set -x \ {# ---- 1.) Builtin ---- #} {% if extensions_available[ext]['all']['type'] == 'builtin' %} {% if 'configure' in extensions_available[ext]['all'] %} - && /usr/local/bin/docker-php-ext-configure {{ ext }} {{ extensions_available[ext]['all']['configure'] }} >/dev/null \ + && /usr/local/bin/docker-php-ext-configure {{ ext }} {{ extensions_available[ext]['all']['configure'] }} \ {% endif %} - && /usr/local/bin/docker-php-ext-install{% if php_version != 5.4 %} -j$(getconf _NPROCESSORS_ONLN){% endif %} {{ ext }} >/dev/null \ + && /usr/local/bin/docker-php-ext-install{% if php_version != 5.4 %} -j$(getconf _NPROCESSORS_ONLN){% endif %} {{ ext }} \ {# ---- 2.) PECL ---- #} {% elif extensions_available[ext]['all']['type'] == 'pecl' %} {% if 'command' in extensions_available[ext]['all'] %} && {{ extensions_available[ext]['all']['command'] }} \ {% else %} - && pecl install {{ ext }}{% if 'version' in extensions_available[ext]['all'] %}-{{ extensions_available[ext]['all']['version'] }}{% endif %} >/dev/null \ + && pecl install {{ ext }}{% if 'version' in extensions_available[ext]['all'] %}-{{ extensions_available[ext]['all']['version'] }}{% endif %} \ {% endif %} && docker-php-ext-enable {{ ext }} \ {# ---- 3.) GIT ---- #} @@ -158,8 +158,8 @@ RUN set -x \ && {{ extensions_available[ext]['all']['command'] }} \ {% else %} && phpize \ - && ./configure {% if 'configure' in extensions_available[ext]['all'] %} {{ extensions_available[ext]['all']['configure'] }}{% endif %} >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure {% if 'configure' in extensions_available[ext]['all'] %} {{ extensions_available[ext]['all']['configure'] }}{% endif %} \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ {% endif %} && docker-php-ext-enable {{ ext }} \ diff --git a/build/ansible/group_vars/all.yml b/build/ansible/group_vars/all.yml index df3ffc58..66e7d12a 100644 --- a/build/ansible/group_vars/all.yml +++ b/build/ansible/group_vars/all.yml @@ -793,7 +793,7 @@ extensions_available: run_dep: [librabbitmq1] all: type: pecl - command: echo "/usr" | pecl install amqp >/dev/null + command: echo "/usr" | pecl install amqp build_dep: [librabbitmq-dev] run_dep: [librabbitmq4] apcu: @@ -843,7 +843,7 @@ extensions_available: enchant: 5.2: type: pecl - command: echo "/usr" | pecl install enchant >/dev/null + command: echo "/usr" | pecl install enchant all: type: builtin build_dep: [libenchant-dev] @@ -942,6 +942,9 @@ extensions_available: 5.2: type: pecl version: 2.0.7 + 5.3: + type: pecl + version: 2.0.7 all: type: pecl imagick: @@ -997,7 +1000,7 @@ extensions_available: EXTENSION_DIR="$( php -i | grep ^extension_dir | awk -F '=>' '{print $2}' | xargs )" \ && if [ ! -d "${EXTENSION_DIR}" ]; then mkdir -p "${EXTENSION_DIR}"; fi \ && curl https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -L -o ioncube.tar.gz \ - && tar xvfz ioncube.tar.gz >/dev/null \ + && tar xvfz ioncube.tar.gz \ && cd ioncube \ && cp "ioncube_loader_lin_{{ php_version }}.so" "${EXTENSION_DIR}/ioncube.so" \ && cd ../ \ @@ -1071,12 +1074,12 @@ extensions_available: type: git git_url: https://github.com/php-memcached-dev/php-memcached git_ref: master - command: phpize && ./configure --enable-memcached >/dev/null && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null && make install + command: phpize && ./configure --enable-memcached && make -j$(getconf _NPROCESSORS_ONLN) && make install 7.4: type: git git_url: https://github.com/php-memcached-dev/php-memcached git_ref: master - command: phpize && ./configure --enable-memcached >/dev/null && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null && make install + command: phpize && ./configure --enable-memcached && make -j$(getconf _NPROCESSORS_ONLN) && make install all: type: pecl build_dep: [zlib1g-dev, libmemcached-dev] @@ -1085,10 +1088,10 @@ extensions_available: disabled: [7.0, 7.1, 7.2, 7.3, 7.4] # Deprecated 5.2: type: pecl - command: yes | pecl install mongo-1.5.8 >/dev/null + command: yes | pecl install mongo-1.5.8 all: type: pecl - command: yes | pecl install mongo > /dev/null + command: yes | pecl install mongo build_dep: [libssl-dev, libsasl2-dev] mongodb: disabled: [5.2] @@ -1143,13 +1146,13 @@ extensions_available: opcache: 5.2: type: pecl - command: pecl install zendopcache >/dev/null + command: pecl install zendopcache 5.3: type: pecl - command: pecl install zendopcache >/dev/null + command: pecl install zendopcache 5.4: type: pecl - command: pecl install zendopcache >/dev/null + command: pecl install zendopcache all: type: builtin openssl: @@ -1210,12 +1213,12 @@ extensions_available: type: git git_url: https://github.com/phalcon/cphalcon git_ref: phalcon-v2.0.9 - command: cd build && ./install >/dev/null + command: cd build && ./install 5.4: type: git git_url: https://github.com/phalcon/cphalcon git_ref: phalcon-v2.0.13 - command: cd build && ./install >/dev/null + command: cd build && ./install # 7.3: # type: git # git_url: https://github.com/phalcon/cphalcon @@ -1226,7 +1229,7 @@ extensions_available: type: git git_url: https://github.com/phalcon/cphalcon git_ref: $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') - command: cd build && ./install >/dev/null + command: cd build && ./install phar: # https://github.com/docker-library/php/issues/618 disabled: [5.6, 7.0] # TODO: Currently disabled due to bug in built @@ -1270,8 +1273,8 @@ extensions_available: && sed -i'' 's/ZEND_ACC_CTOR | //g' redis.c \ && sed -i'' 's/ZEND_ACC_DTOR | //g' redis.c \ && sed -i'' 's/ZEND_ACC_CTOR | //g' redis_cluster.c \ - && ./configure >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && ./configure \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ all: type: pecl @@ -1344,11 +1347,11 @@ extensions_available: git checkout $(git describe --abbrev=0 --tags) \ && git submodule update --init --recursive \ #`&& cd thirdparty/hiredis` \ - #`&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null` \ + #`&& make -j$(getconf _NPROCESSORS_ONLN)` \ #`&& make install` \ #`&& cd ../../` \ && cd thirdparty/nghttp2 \ - && cmake . >/dev/null \ + && cmake . \ && make install \ && ldconfig \ && cd ../.. \ @@ -1373,8 +1376,7 @@ extensions_available: #`--enable-http2` \ #`--enable-sockets` \ #`--with-libpq-dir=/usr/include/postgresql/libpq/` \ - >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ run_dep: [libnghttp2-14, libhiredis0.13] build_dep: [libnghttp2-dev, libssl-dev, libhiredis-dev, cmake] @@ -1386,11 +1388,11 @@ extensions_available: git checkout $(git describe --abbrev=0 --tags) \ && git submodule update --init --recursive \ #`&& cd thirdparty/hiredis` \ - #`&& make -j$(getconf _NPROCESSORS_ONLN) >/dev/null` \ + #`&& make -j$(getconf _NPROCESSORS_ONLN)` \ #`&& make install` \ #`&& cd ../../` \ && cd thirdparty/nghttp2 \ - && cmake . >/dev/null \ + && cmake . \ && make install \ && ldconfig \ && cd ../.. \ @@ -1415,8 +1417,7 @@ extensions_available: #`--enable-http2` \ #`--enable-sockets` \ #`--with-libpq-dir=/usr/include/postgresql/libpq/` \ - >/dev/null \ - && make -j$(getconf _NPROCESSORS_ONLN) >/dev/null \ + && make -j$(getconf _NPROCESSORS_ONLN) \ && make install \ run_dep: [libnghttp2-14, libhiredis0.13] build_dep: [libnghttp2-dev, libssl-dev, libhiredis-dev, cmake] From 1740392d3c7f4a58832da168e1d8bc8820ba794f Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 10 Nov 2018 15:59:48 +0100 Subject: [PATCH 2/2] Fix automated build of PHP 5.3 --- Dockerfiles/mods/Dockerfile-5.3 | 39 -------------------------------- README.md | 2 +- build/ansible/group_vars/all.yml | 24 ++++---------------- 3 files changed, 5 insertions(+), 60 deletions(-) diff --git a/Dockerfiles/mods/Dockerfile-5.3 b/Dockerfiles/mods/Dockerfile-5.3 index 5814aefc..8cbcec83 100644 --- a/Dockerfiles/mods/Dockerfile-5.3 +++ b/Dockerfiles/mods/Dockerfile-5.3 @@ -32,10 +32,8 @@ ENV BUILD_DEPS \ libjpeg-dev \ libkrb5-dev \ libldap2-dev \ - libmagickwand-dev \ libmcrypt-dev \ libmemcached-dev \ - libnghttp2-dev \ libpng-dev \ libpq-dev \ libpspell-dev \ @@ -62,11 +60,9 @@ ENV RUN_DEPS \ libfreetype6 \ libicu52 \ libjpeg62-turbo \ - libmagickwand-6.q16-2 \ libmcrypt4 \ libmemcachedutil2 \ libmysqlclient18 \ - libnghttp2-5 \ libpng12-0 \ libpq5 \ librabbitmq1 \ @@ -177,12 +173,6 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/test/igbinary || true) \ && (rm -rf /usr/local/lib/php/doc/igbinary || true) \ \ -# ---- Installing PHP Extension: imagick ---- - && pecl install imagick-3.3.0 \ - && docker-php-ext-enable imagick \ - && (rm -rf /usr/local/lib/php/test/imagick || true) \ - && (rm -rf /usr/local/lib/php/doc/imagick || true) \ - \ # ---- Installing PHP Extension: imap ---- && ln -s /usr/lib/x86_64-linux-gnu/libkrb5* /usr/lib/ \ && /usr/local/bin/docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ @@ -235,12 +225,6 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/test/mongo || true) \ && (rm -rf /usr/local/lib/php/doc/mongo || true) \ \ -# ---- Installing PHP Extension: mongodb ---- - && pecl install mongodb-0.6.3 \ - && docker-php-ext-enable mongodb \ - && (rm -rf /usr/local/lib/php/test/mongodb || true) \ - && (rm -rf /usr/local/lib/php/doc/mongodb || true) \ - \ # ---- Installing PHP Extension: msgpack ---- && pecl install msgpack-0.5.7 \ && docker-php-ext-enable msgpack \ @@ -290,15 +274,6 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/test/pgsql || true) \ && (rm -rf /usr/local/lib/php/doc/pgsql || true) \ \ -# ---- Installing PHP Extension: phalcon ---- - && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ - && cd /tmp/phalcon \ - && git checkout phalcon-v2.0.9 \ - && cd build && ./install \ - && docker-php-ext-enable phalcon \ - && (rm -rf /usr/local/lib/php/test/phalcon || true) \ - && (rm -rf /usr/local/lib/php/doc/phalcon || true) \ - \ # ---- Installing PHP Extension: pspell ---- && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && (rm -rf /usr/local/lib/php/test/pspell || true) \ @@ -338,12 +313,6 @@ RUN set -x \ && (rm -rf /usr/local/lib/php/test/sockets || true) \ && (rm -rf /usr/local/lib/php/doc/sockets || true) \ \ -# ---- Installing PHP Extension: swoole ---- - && pecl install swoole-1.9.23 \ - && docker-php-ext-enable swoole \ - && (rm -rf /usr/local/lib/php/test/swoole || true) \ - && (rm -rf /usr/local/lib/php/doc/swoole || true) \ - \ # ---- Installing PHP Extension: sysvmsg ---- && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ && (rm -rf /usr/local/lib/php/test/sysvmsg || true) \ @@ -474,8 +443,6 @@ RUN set -x \ && php-fpm -m | grep -oiE '^iconv$' \ && php -m | grep -oiE '^igbinary$' \ && php-fpm -m | grep -oiE '^igbinary$' \ - && php -m | grep -oiE '^imagick$' \ - && php-fpm -m | grep -oiE '^imagick$' \ && php -m | grep -oiE '^imap$' \ && php-fpm -m | grep -oiE '^imap$' \ && php -m | grep -oiE '^interbase$' \ @@ -498,8 +465,6 @@ RUN set -x \ && php-fpm -m | grep -oiE '^memcached$' \ && php -m | grep -oiE '^mongo$' \ && php-fpm -m | grep -oiE '^mongo$' \ - && php -m | grep -oiE '^mongodb$' \ - && php-fpm -m | grep -oiE '^mongodb$' \ && php -m | grep -oiE '^msgpack$' \ && php-fpm -m | grep -oiE '^msgpack$' \ && php -m | grep -oiE '^mysql$' \ @@ -530,8 +495,6 @@ RUN set -x \ && php-fpm -m | grep -oiE '^pdo_sqlite$' \ && php -m | grep -oiE '^pgsql$' \ && php-fpm -m | grep -oiE '^pgsql$' \ - && php -m | grep -oiE '^phalcon$' \ - && php-fpm -m | grep -oiE '^phalcon$' \ && php -m | grep -oiE '^phar$' \ && php-fpm -m | grep -oiE '^phar$' \ && php -m | grep -oiE '^posix$' \ @@ -556,8 +519,6 @@ RUN set -x \ && php-fpm -m | grep -oiE '^soap$' \ && php -m | grep -oiE '^sockets$' \ && php-fpm -m | grep -oiE '^sockets$' \ - && php -m | grep -oiE '^swoole$' \ - && php-fpm -m | grep -oiE '^swoole$' \ && php -m | grep -oiE '^sysvmsg$' \ && php-fpm -m | grep -oiE '^sysvmsg$' \ && php -m | grep -oiE '^sysvsem$' \ diff --git a/README.md b/README.md index 50176b7c..07dc8f98 100644 --- a/README.md +++ b/README.md @@ -531,7 +531,7 @@ Check out this table to see which Docker image provides what PHP modules. 5.3 Core, ctype, curl, date, dom, ereg, fileinfo, filter, hash, iconv, json, libxml, mysql, mysqlnd, openssl, pcre, PDO, pdo_sqlite, Phar, posix, readline, recode, Reflection, session, SimpleXML, SPL, SQLite, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, zlib - amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, SQLite, sqlite3, standard, swoole, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib + amqp, apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, interbase, intl, json, ldap, libxml, mbstring, mcrypt, memcache, memcached, mongo, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_dblib, PDO_Firebird, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, rdkafka, readline, recode, redis, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SPL, SQLite, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib 5.4 diff --git a/build/ansible/group_vars/all.yml b/build/ansible/group_vars/all.yml index 66e7d12a..0bbf2fd2 100644 --- a/build/ansible/group_vars/all.yml +++ b/build/ansible/group_vars/all.yml @@ -948,11 +948,7 @@ extensions_available: all: type: pecl imagick: - disabled: [5.2, 7.4] - 5.3: - type: pecl - version: 3.3.0 - run_dep: [libmagickwand-6.q16-2] + disabled: [5.2, 5.3, 7.4] 5.4: type: pecl run_dep: [libmagickwand-6.q16-2] @@ -1094,10 +1090,7 @@ extensions_available: command: yes | pecl install mongo build_dep: [libssl-dev, libsasl2-dev] mongodb: - disabled: [5.2] - 5.3: - type: pecl - version: 0.6.3 + disabled: [5.2, 5.3] 5.4: type: pecl version: 1.2.11 @@ -1208,12 +1201,7 @@ extensions_available: build_dep: [libpq-dev] run_dep: [libpq5] phalcon: - disabled: [5.2, 7.3, 7.4] - 5.3: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: phalcon-v2.0.9 - command: cd build && ./install + disabled: [5.2, 5.3, 7.3, 7.4] 5.4: type: git git_url: https://github.com/phalcon/cphalcon @@ -1323,11 +1311,7 @@ extensions_available: spl: disabled: "{{ php_all_versions }}" # TODO: Did not work swoole: - disabled: [5.2] - 5.3: - type: pecl - version: 1.9.23 - run_dep: [libnghttp2-5] + disabled: [5.2, 5.3] 5.4: type: pecl version: 1.9.23