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..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 \ @@ -95,7 +91,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,296 +102,269 @@ 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\ - && 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\ - && 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) \ \ -# ---- 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 >/dev/null \ - && 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\ - && 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) \ \ @@ -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/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/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.