From 3db1b56b7b62256ca1cd556fa026a5f491ecc26b Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 8 Dec 2022 05:04:34 +0100 Subject: [PATCH] Temporarily disable modules for faster builds --- .ansible/group_vars/all/mods.yml | 1589 ------------------------------ Dockerfiles/mods/Dockerfile-5.2 | 671 ------------- Dockerfiles/mods/Dockerfile-5.3 | 844 ---------------- Dockerfiles/mods/Dockerfile-5.4 | 855 ---------------- Dockerfiles/mods/Dockerfile-5.5 | 908 ----------------- Dockerfiles/mods/Dockerfile-5.6 | 926 ----------------- Dockerfiles/mods/Dockerfile-7.0 | 1075 -------------------- Dockerfiles/mods/Dockerfile-7.1 | 1095 -------------------- Dockerfiles/mods/Dockerfile-7.2 | 1100 --------------------- Dockerfiles/mods/Dockerfile-7.3 | 1092 -------------------- Dockerfiles/mods/Dockerfile-7.4 | 1075 -------------------- Dockerfiles/mods/Dockerfile-8.0 | 1046 -------------------- Dockerfiles/mods/Dockerfile-8.1 | 1029 ------------------- Dockerfiles/mods/Dockerfile-8.2 | 970 ------------------ 14 files changed, 14275 deletions(-) diff --git a/.ansible/group_vars/all/mods.yml b/.ansible/group_vars/all/mods.yml index c132fd9..01fb1e2 100644 --- a/.ansible/group_vars/all/mods.yml +++ b/.ansible/group_vars/all/mods.yml @@ -4,1600 +4,11 @@ # The following specifies the order in which modules are being built. extensions_enabled: - - amqp - - apc - - apcu - - bcmath - - blackfire - - bz2 - - calendar - - ctype - - curl - - date - - dba - - libxml - - dom - - enchant - - ereg - - mbstring - - exif - - ffi - - fileinfo - - filter - - ftp - - gd - - gettext - - gmp - hash - - iconv - - igbinary - - imagick - - imap - - interbase - - intl - - ioncube - - json - - ldap - - lz4 - - lzf - - mcrypt - - memcache - - msgpack - - memcached - - mhash - - mongo - - mongodb - - mysql - - mysqli - - mysqlnd - - pcre - - oauth - - oci8 - - odbc - - opcache - - openssl - - pcntl - - pdo - - pdo_dblib - - pdo_firebird - - pdo_mysql - - pdo_oci - - pdo_odbc - - pdo_pgsql - - pdo_sqlite - - pdo_sqlsrv - - pgsql - - psr - - zstd - - redis - - sqlite3 - - sqlsrv - - phalcon - - phar - - posix - - pspell - - random - - rdkafka - - readline - - recode - - reflection - - session - - shmop - - simplexml - - snmp - - soap - - sockets - - sodium - - solr - - spl - - sqlite - - ssh2 - - xml - - zip - - swoole - - sysvmsg - - sysvsem - - sysvshm - - tidy - - tokenizer - - uploadprogress - - uuid - - vips - - wddx - - xdebug - - xlswriter - - xmlreader - - xmlrpc - - xmlwriter - - xsl - - yaml - - zlib # The following specifies how modules are being built. extensions_available: - amqp: - disabled: [] - all: - type: pecl - command: echo "/usr" | pecl install amqp - build_dep: [librabbitmq-dev] - run_dep: [librabbitmq4] - 5.5: - type: pecl - version: 1.9.3 - run_dep: [librabbitmq1] - 5.4: - type: pecl - version: 1.9.3 - run_dep: [librabbitmq1] - 5.3: - type: pecl - version: 1.9.3 - run_dep: [librabbitmq1] - 5.2: - type: pecl - version: 1.6.1 - run_dep: [librabbitmq1] - apc: - disabled: [5.2, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - already_avail: "{{ php_all_versions }}" - apcu: - disabled: [5.2] - all: - type: pecl - 5.6: - type: pecl - version: 4.0.11 - 5.5: - type: pecl - version: 4.0.11 - 5.4: - type: pecl - version: 4.0.11 - 5.3: - type: pecl - version: 4.0.11 - bcmath: - disabled: [] - all: - type: builtin - blackfire: - disabled: [5.2, 5.3, 5.4, 5.5, 8.1, 8.2] - all: - type: custom - command: | - version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ - && curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ - && mkdir -p /tmp/blackfire \ - && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ - && mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ - && rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - bz2: - disabled: [] - all: - type: builtin - build_dep: [libbz2-dev] - calendar: - disabled: [] - all: - type: builtin - ctype: - disabled: [] - already_avail: "{{ php_all_versions }}" - curl: - disabled: [] - already_avail: "{{ php_all_versions }}" - date: - disabled: [] - already_avail: "{{ php_all_versions }}" - dba: - disabled: [] - all: - type: builtin - libxml: - disabled: [] - already_avail: "{{ php_all_versions }}" - dom: - disabled: [] - already_avail: "{{ php_all_versions }}" - enchant: - disabled: [7.3, 7.4] - all: - type: builtin - build_dep: [libenchant-2-dev] - run_dep: [libenchant-2-2] - 7.2: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 7.1: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 7.0: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 5.6: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 5.5: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 5.4: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 5.3: - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - 5.2: - type: pecl - command: echo "/usr" | pecl install enchant - build_dep: [libenchant-dev] - run_dep: [libenchant1c2a] - ereg: - disabled: [5.2, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - already_avail: "{{ php_all_versions }}" - mbstring: - disabled: [] - already_avail: "{{ php_all_versions }}" # Available by default - exif: - disabled: [] - all: - type: builtin - ffi: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3] - already_avail: [8.0, 8.1, 8.2] - all: - type: builtin - build_dep: [libffi-dev] - run_dep: [libffi7] - fileinfo: - disabled: [] - already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - 5.2: - type: pecl - build_dep: [libmagic-dev] - run_dep: [libmagic1] - filter: - disabled: [] - already_avail: "{{ php_all_versions }}" - ftp: - disabled: [] - already_avail: "{{ php_all_versions }}" - gd: - disabled: [] - all: - type: builtin - pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ - configure: --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-native-ttf - build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev, libwebp-dev] - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx6, libfreetype6, libwebp6] - 8.2: - type: builtin - configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-avif - build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev, libwebp-dev, libavif-dev] - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx6, libfreetype6, libwebp6, libavif9] - 8.1: - type: builtin - configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-avif - build_dep: [libpng-dev, libjpeg-dev, libxpm-dev, libvpx-dev, zlib1g-dev, libfreetype6-dev, libwebp-dev, libavif-dev] - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx6, libfreetype6, libwebp6, libavif9] - 8.0: - type: builtin - configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype - 7.4: - type: builtin - configure: --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype - 7.3: - type: builtin - configure: --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 - 7.2: - type: builtin - configure: --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 - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx5, libfreetype6, libwebp6] - 7.1: - type: builtin - configure: --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-native-ttf - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx5, libfreetype6, libwebp6] - 7.0: - type: builtin - configure: --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-native-ttf - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx4, libfreetype6, libwebp6] - 5.6: - type: builtin - pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ - configure: --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-native-ttf - run_dep: [libpng16-16, libjpeg62-turbo, libxpm4, libvpx4, libfreetype6, libwebp6] - 5.5: - type: builtin - pre: | - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ - mkdir /usr/include/freetype2/freetype && \ - ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - configure: --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-native-ttf - run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] - 5.4: - type: builtin - pre: | - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ - mkdir /usr/include/freetype2/freetype && \ - ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - configure: --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-native-ttf - run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] - 5.3: - type: builtin - pre: | - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ - mkdir /usr/include/freetype2/freetype && \ - ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - configure: --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf - run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] - 5.2: - type: builtin - pre: | - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ - ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ - mkdir /usr/include/freetype2/freetype && \ - ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - configure: --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf - run_dep: [libpng12-0, libjpeg62-turbo, libxpm4, libvpx1, libfreetype6, libwebp5] - gettext: - disabled: [] - all: - type: builtin - gmp: - disabled: [5.2] - all: - type: builtin - pre: ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ - build_dep: [libgmp-dev] - run_dep: [] # TODO: Ensure to add libgmp10 to each of the versions hash: disabled: [] already_avail: "{{ php_all_versions }}" - iconv: - disabled: [] - already_avail: "{{ php_all_versions }}" - igbinary: - disabled: [] - all: - type: pecl - 5.6: - type: pecl - version: 2.0.8 - 5.5: - type: pecl - version: 2.0.8 - 5.4: - type: pecl - version: 2.0.8 - 5.3: - type: pecl - version: 2.0.8 - 5.2: - type: pecl - version: 2.0.7 - imagick: - disabled: [5.2, 5.3, 5.4] - all: - type: pecl - build_dep: [libmagickwand-dev, libwebp-dev, ghostscript] - run_dep: [libmagickwand-6.q16-6, libwebp6, ghostscript] - # https://bugs.php.net/bug.php?id=77683 - # https://github.com/Imagick/imagick/issues/262 (policy prevents PDF from being read) - post: | - sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ - && sed -i'' 's|.* /usr/local/include/php/Zend/Optimizer/zend_dfg.h - 8.1: - type: builtin - pre: curl -sS https://raw.githubusercontent.com/php/php-src/php-8.0.6/ext/opcache/Optimizer/zend_dfg.h > /usr/local/include/php/Zend/Optimizer/zend_dfg.h - 5.4: - type: pecl - command: pecl install zendopcache - 5.3: - type: pecl - command: pecl install zendopcache - 5.2: - type: pecl - command: pecl install zendopcache - openssl: - disabled: [] - already_avail: "{{ php_all_versions }}" - pcntl: - disabled: [] - all: - type: builtin - pdo: - disabled: [] - already_avail: "{{ php_all_versions }}" - pdo_dblib: - disabled: [] - all: - type: builtin - pre: ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ - build_dep: [freetds-dev] - run_dep: [libsybdb5] - pdo_firebird: - disabled: [] - all: - type: builtin - build_dep: [libfbclient2, libib-util, firebird-dev] - run_dep: [libfbclient2] - pdo_mysql: - disabled: [] - all: - type: builtin - configure: --with-zlib-dir=/usr - run_dep: [libmariadbd19] - build_dep: [zlib1g-dev, libmariadb-dev] - 7.0: - type: builtin - run_dep: [libmariadbclient18] - build_dep: [zlib1g-dev, libmariadbclient-dev] - 5.6: - type: builtin - run_dep: [libmariadbclient18] - build_dep: [zlib1g-dev, libmariadbclient-dev] - 5.5: - type: builtin - run_dep: [libmysqlclient18] - build_dep: [zlib1g-dev, libmysqlclient-dev] - 5.4: - type: builtin - run_dep: [libmysqlclient18] - build_dep: [zlib1g-dev, libmysqlclient-dev] - 5.3: - type: builtin - run_dep: [libmysqlclient18] - build_dep: [zlib1g-dev, libmysqlclient-dev] - 5.2: - type: builtin - run_dep: [libmysqlclient18] - build_dep: [zlib1g-dev, libmysqlclient-dev] - pdo_oci: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6] - all: - type: builtin - configure: --with-pdo-oci=instantclient,/usr,${ORACLE_VERSION_MAJOR} - pre: | - ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ - && ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ - )" \ - && ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ - && ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ - \ - && rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ - && curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - && curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - && alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - && alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - && rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - && rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - && (ln -s /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - build_dep: [alien] - 8.2: - type: builtin - configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} - 8.1: - type: builtin - configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} - 8.0: - type: builtin - configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} - 7.4: - type: builtin - configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} - 7.3: - type: builtin - configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} - 7.2: - type: builtin - configure: --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} - pdo_odbc: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - pdo_pgsql: - disabled: [] - all: - type: builtin - build_dep: [libpq-dev] - run_dep: [libpq5] - pdo_sqlite: - disabled: [] - already_avail: "{{ php_all_versions }}" - pdo_sqlsrv: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6] - all: - type: pecl - build_dep: [unixodbc-dev] - run_dep: [unixodbc] - 7.3: - type: pecl - version: 5.9.0 - 7.2: - type: pecl - version: 5.8.1 - 7.1: - type: pecl - version: 5.6.1 - 7.0: - type: pecl - version: 5.3.0 - pgsql: - disabled: [] - all: - type: builtin - build_dep: [libpq-dev] - run_dep: [libpq5] - psr: - disabled: [5.2, 5.3] - all: - type: pecl - 7.2: - type: pecl - version: 1.1.0 - 7.1: - type: pecl - version: 1.1.0 - 7.0: - type: pecl - version: 1.1.0 - 5.6: - type: pecl - version: 0.6.0 # NOTE: 0.6.1 fails with: Package "psr" Version "0.6.1" does not have REST xml available - 5.5: - type: pecl - version: 0.5.1 - 5.4: - type: pecl - version: 0.5.1 - zstd: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6] - all: - type: git - git_url: https://github.com/kjdev/php-ext-zstd - git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) - configure: --enable-zstd --with-libzstd - build_dep: [libzstd-dev] - run_dep: [libzstd1] - 7.0: - type: pecl - build_dep: [libzstd-dev] - run_dep: [libzstd1] - redis: - disabled: [] - all: - type: git - git_url: https://github.com/phpredis/phpredis - git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) - pre: | - if [ -f /usr/include/liblzf/lzf.h ]; then \ - ln -s /usr/include/liblzf/lzf.h /usr/include/; \ - fi \ - command: | - REDIS_ARGS=""; \ - if php -m | grep -q "igbinary"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ - fi; \ - if php -m | grep -q "lz4"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lz4 --with-liblz4=/usr"; \ - fi; \ - if php -m | grep -q "lzf"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lzf --with-liblzf=/usr"; \ - fi; \ - if php -m | grep -q "msgpack"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ - fi; \ - if php -m | grep -q "zstd"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-zstd"; \ - fi; \ - phpize \ - && ./configure --enable-redis ${REDIS_ARGS} \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - build_dep: - - liblz4-dev - - liblzf-dev - - libzstd-dev - run_dep: - - liblz4-1 - - liblzf1 - - libzstd1 - 7.2: - type: git - git_url: https://github.com/phpredis/phpredis - git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) - command: | - REDIS_ARGS=""; \ - if php -m | grep -q "igbinary"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ - fi; \ - if php -m | grep -q "lz4"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lz4 --with-liblz4=/usr"; \ - fi; \ - if php -m | grep -q "msgpack"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ - fi; \ - if php -m | grep -q "zstd"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-zstd"; \ - fi; \ - phpize \ - && ./configure --enable-redis ${REDIS_ARGS} \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - build_dep: - - liblz4-dev - - libzstd-dev - run_dep: - - liblz4-1 - - libzstd1 - 7.1: - type: git - git_url: https://github.com/phpredis/phpredis - git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) - command: | - REDIS_ARGS=""; \ - if php -m | grep -q "igbinary"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ - fi; \ - if php -m | grep -q "lz4"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lz4 --with-liblz4=/usr"; \ - fi; \ - if php -m | grep -q "msgpack"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ - fi; \ - if php -m | grep -q "zstd"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-zstd"; \ - fi; \ - phpize \ - && ./configure --enable-redis ${REDIS_ARGS} \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - build_dep: - - liblz4-dev - - libzstd-dev - run_dep: - - liblz4-1 - - libzstd1 - 7.0: - type: git - git_url: https://github.com/phpredis/phpredis - git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) - command: | - REDIS_ARGS=""; \ - if php -m | grep -q "igbinary"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ - fi; \ - if php -m | grep -q "lz4"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lz4 --with-liblz4=/usr"; \ - fi; \ - if php -m | grep -q "msgpack"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ - fi; \ - phpize \ - && ./configure --enable-redis ${REDIS_ARGS} \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - build_dep: - - liblz4-dev - run_dep: - - liblz4-1 - 5.6: - type: pecl - version: 4.3.0 - build_dep: [] - run_dep: [] - 5.5: - type: pecl - version: 4.3.0 - build_dep: [] - run_dep: [] - 5.4: - type: pecl - version: 4.3.0 - build_dep: [] - run_dep: [] - 5.3: - type: pecl - version: 4.3.0 - build_dep: [] - run_dep: [] - 5.2: - type: pecl - version: 2.2.7 - build_dep: [] - run_dep: [] - sqlite3: - disabled: [5.2] - already_avail: "{{ php_all_versions }}" - sqlsrv: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6] - all: - type: pecl - build_dep: [unixodbc-dev] - run_dep: [unixodbc] - 7.3: - type: pecl - version: 5.9.0 - 7.2: - type: pecl - version: 5.8.1 - 7.1: - type: pecl - version: 5.6.1 - 7.0: - type: pecl - version: 5.3.0 - phalcon: - disabled: [5.2, 8.2] - all: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: | - $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags \ - | sort -V \ - | sed 's/^.*tags\///g' \ - | grep -E '^v[.0-9]+$' \ - | tail -1 \ - ) \ - command: cd build && ./install - build_dep: [libpcre3-dev, re2c] - run_dep: [] - 7.3: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: v4.1.2 - command: cd build && ./install - 7.2: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: v4.1.1 - command: cd build && ./install - 7.1: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: v3.4.4 - command: cd build && ./install - 7.0: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: v3.4.4 - command: cd build && ./install - 5.6: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: v3.4.4 - command: cd build && ./install - 5.5: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: v3.4.4 - command: cd build && ./install - 5.4: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: phalcon-v2.0.13 - command: cd build && ./install - 5.3: - type: git - git_url: https://github.com/phalcon/cphalcon - git_ref: phalcon-v2.0.9 - command: cd build && ./install - phar: - disabled: [] - already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - 5.2: - type: pecl - build_dep: [libssl-dev] - posix: - disabled: [] - already_avail: "{{ php_all_versions }}" - pspell: - disabled: [] - all: - type: builtin - build_dep: [libpspell-dev] - run_dep: [libaspell15] - random: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - already_avail: "{{ php_all_versions }}" - rdkafka: - disabled: [5.2] - all: - type: pecl - build_dep: [librdkafka-dev] - run_dep: [librdkafka1] - 7.0: - type: pecl - version: 3.1.2 - 5.6: - type: pecl - version: 3.1.2 - 5.5: - type: pecl - version: 3.0.5 - 5.4: - type: pecl - version: 3.0.5 - 5.3: - type: pecl - version: 3.0.5 - readline: - disabled: [] - already_avail: "{{ php_all_versions }}" - recode: - disabled: [7.4, 8.0, 8.1, 8.2] - already_avail: [5.2, 5.3, 5.4, 5.5] - all: - type: builtin - build_dep: [librecode-dev] - run_dep: [librecode0] - reflection: - disabled: [] - already_avail: "{{ php_all_versions }}" - session: - disabled: [] - already_avail: "{{ php_all_versions }}" - shmop: - disabled: [] - all: - type: builtin - simplexml: - disabled: [] - already_avail: "{{ php_all_versions }}" - snmp: - disabled: [] - all: - type: builtin - configure: --with-snmp - build_dep: [libssl-dev, libsnmp-dev, snmp] - run_dep: [snmp] - soap: - disabled: [] - all: - type: builtin - build_dep: [libxml2-dev] - sockets: - disabled: [] - all: - type: builtin - 8.2: - # Remove ucred (currently breaks build) - pre: | - docker-php-ext-configure sockets \ - && sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ - 8.1: - # Remove ucred (currently breaks build) - pre: | - docker-php-ext-configure sockets \ - && sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ - 8.0: - # Remove ucred (currently breaks build) - pre: | - docker-php-ext-configure sockets \ - && sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ - sodium: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1] - already_avail: [7.2, 7.3, 7.4] - all: - type: builtin - build_dep: [libsodium-dev] - solr: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 8.2] - all: - type: pecl - build_dep: [libxml2-dev, libcurl4-openssl-dev] - spl: - disabled: [] - already_avail: "{{ php_all_versions }}" - sqlite: - disabled: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2] - already_avail: "{{ php_all_versions }}" - ssh2: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 8.0, 8.1, 8.2] - all: - type: pecl - version: 1.2 - build_dep: [libssh2-1-dev] - run_dep: [libssh2-1] - xml: - disabled: [] - already_avail: "{{ php_all_versions }}" - zip: - disabled: [] - all: - type: builtin - configure: --with-zip - build_dep: [libzip-dev] - run_dep: [libzip4] - 7.3: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip4, zlib1g] - 7.2: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip4, zlib1g] - 7.1: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip4, zlib1g] - 7.0: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip4, zlib1g] - 5.6: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr --with-libzip=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip4, zlib1g] - 5.5: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip2, zlib1g] - 5.4: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip2, zlib1g] - 5.3: - type: builtin - configure: --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr - build_dep: [libzip-dev, zlib1g-dev] - run_dep: [libzip2, zlib1g] - 5.2: - type: builtin - configure: --enable-zip - build_dep: [libzip-dev] - run_dep: [libzip2] - swoole: - disabled: [5.2, 8.2] - all: - type: pecl - # Note: -D is only supported from PHP 7.2+ - command: pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes" with-postgres="yes"' swoole - build_dep: [libc-ares-dev, libnghttp2-dev, libssl-dev, libcurl4-openssl-dev] - run_dep: [libc-ares2, libnghttp2-14] - 7.4: - type: pecl - version: 4.8.12 - 7.3: - type: pecl - version: 4.8.12 - 7.2: - type: pecl - version: 4.8.12 - 7.1: - type: pecl - version: 4.4.26 - 7.0: - type: pecl - version: 4.2.13 - 5.6: - type: pecl - version: 1.9.23 - 5.5: - type: pecl - version: 1.9.23 - run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0] - 5.4: - type: pecl - version: 1.9.23 - run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0] - 5.3: - type: pecl - version: 1.9.23 - run_dep: [libc-ares2, libnghttp2-5, libssl1.0.0] - sysvmsg: - disabled: [] - all: - type: builtin - sysvsem: - disabled: [] - all: - type: builtin - sysvshm: - disabled: [] - all: - type: builtin - tidy: - disabled: [] - all: - type: builtin - build_dep: [libtidy-dev] - run_dep: [libtidy5deb1] - 7.0: - type: builtin - run_dep: [libtidy5] - 5.6: - type: builtin - run_dep: [libtidy5] - 5.5: - type: builtin - run_dep: [libtidy-0.99-0] - 5.4: - type: builtin - run_dep: [libtidy-0.99-0] - 5.3: - type: builtin - run_dep: [libtidy-0.99-0] - 5.2: - type: builtin - run_dep: [libtidy-0.99-0] - tokenizer: - disabled: [] - already_avail: "{{ php_all_versions }}" - uploadprogress: - disabled: [] - all: - type: pecl - 7.1: - type: pecl - version: 1.1.4 - 7.0: - type: pecl - version: 1.1.4 - 5.6: - type: pecl - version: 1.1.4 - 5.5: - type: pecl - version: 1.1.4 - 5.4: - type: pecl - version: 1.1.4 - 5.3: - type: pecl - version: 1.1.4 - 5.2: - type: pecl - version: 1.1.4 - uuid: - disabled: [5.2] - all: - type: pecl - run_dep: [uuid] - build_dep: [uuid-dev] - 5.6: - type: pecl - version: 1.0.5 - 5.5: - type: pecl - version: 1.0.5 - 5.4: - type: pecl - version: 1.0.5 - 5.3: - type: pecl - version: 1.0.5 - vips: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 8.2] - all: - type: pecl - build_dep: - - libvips-dev - - libvips42 - run_dep: - - libvips42 - 5.6: - type: pecl - version: 1.0.0 - wddx: - disabled: [7.4, 8.0, 8.1, 8.2] - all: - type: builtin - configure: --with-libxml-dir=/usr - build_dep: [libxml2-dev] - # TODO: requires run_dep libxml - xdebug: - disabled: [] - all: - type: pecl - 8.2: - type: git - git_url: https://github.com/xdebug/xdebug - # FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta - git_ref: 3.2.0RC2 - configure: --enable-xdebug - 8.1: - type: git - git_url: https://github.com/xdebug/xdebug - git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) - configure: --enable-xdebug - 7.1: - type: pecl - version: 2.9.8 - 7.0: - type: pecl - version: 2.9.0 - 5.6: - type: pecl - version: 2.4.1 - 5.5: - type: pecl - version: 2.4.1 - 5.4: - type: pecl - version: 2.4.1 - 5.3: - type: pecl - version: 2.2.7 - 5.2: - type: pecl - version: 2.2.7 - xlswriter: - disabled: [5.2, 5.3, 5.4, 5.5, 5.6] - all: - type: pecl - build_dep: [zlib1g-dev] - run_dep: [] - xmlreader: - disabled: [] - already_avail: "{{ php_all_versions }}" - xmlrpc: - disabled: [8.0, 8.1, 8.2] - all: - type: builtin - configure: --with-libxml-dir=/usr --with-iconv-dir=/usr - build_dep: [libxml2-dev] - # TODO: requires run_dep libxml - 7.4: - type: builtin - configure: --with-iconv-dir=/usr - xmlwriter: - disabled: [] - already_avail: "{{ php_all_versions }}" - xsl: - disabled: [] - all: - type: builtin - build_dep: [libxslt-dev] - run_dep: [libxslt1.1] - yaml: - disabled: [5.2] - all: - type: pecl - build_dep: [libyaml-dev] - run_dep: [libyaml-0-2] - 7.0: - type: pecl - version: 2.0.4 - 5.6: - type: pecl - version: 1.3.2 - 5.5: - type: pecl - version: 1.3.2 - 5.4: - type: pecl - version: 1.3.2 - 5.3: - type: pecl - version: 1.3.2 - zlib: - disabled: [] - already_avail: "{{ php_all_versions }}" diff --git a/Dockerfiles/mods/Dockerfile-5.2 b/Dockerfiles/mods/Dockerfile-5.2 index b4406b4..9925235 100644 --- a/Dockerfiles/mods/Dockerfile-5.2 +++ b/Dockerfiles/mods/Dockerfile-5.2 @@ -9,41 +9,6 @@ FROM devilbox/php-fpm:5.2-base as builder RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - firebird-dev \ - freetds-dev \ - libbz2-dev \ - libc-client-dev \ - libcurl4-openssl-dev \ - libenchant-dev \ - libevent-dev \ - libfbclient2 \ - libfreetype6-dev \ - libib-util \ - libicu-dev \ - libjpeg-dev \ - libkrb5-dev \ - libldap2-dev \ - libmagic-dev \ - libmcrypt-dev \ - libmemcached-dev \ - libmysqlclient-dev \ - libpcre3-dev \ - libpng-dev \ - libpq-dev \ - libpspell-dev \ - librabbitmq-dev \ - libsasl2-dev \ - libsnmp-dev \ - libssl-dev \ - libtidy-dev \ - libvpx-dev \ - libwebp-dev \ - libxml2-dev \ - libxpm-dev \ - libxslt-dev \ - libzip-dev \ - snmp \ - zlib1g-dev \ # Build tools autoconf \ bison \ @@ -83,469 +48,6 @@ RUN set -eux \ echo "ffi.enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install amqp-1.6.1 \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install enchant \ - # Enabling - && docker-php-ext-enable enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: fileinfo -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install fileinfo \ - # Enabling - && docker-php-ext-enable fileinfo \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Version specific pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ -mkdir /usr/include/freetype2/freetype && \ -ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary-2.0.7 \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imap -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libkrb5* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ - && true - - -# -------------------- Installing PHP Extension: interbase -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ - && true - - -# -------------------- Installing PHP Extension: intl -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install intl \ - # Enabling - && docker-php-ext-enable intl \ - && true - - -# -------------------- Installing PHP Extension: ldap -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libldap* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ - && true - - -# -------------------- Installing PHP Extension: mcrypt -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ - && true - - -# -------------------- Installing PHP Extension: memcache -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install memcache-2.2.7 \ - # Enabling - && docker-php-ext-enable memcache \ - && true - - -# -------------------- Installing PHP Extension: msgpack -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install msgpack-0.5.7 \ - # Enabling - && docker-php-ext-enable msgpack \ - && true - - -# -------------------- Installing PHP Extension: memcached -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install memcached-2.1.0 \ - # Enabling - && docker-php-ext-enable memcached \ - && true - - -# -------------------- Installing PHP Extension: mongo -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Custom: Pecl command - && yes yes | pecl install mongo-1.5.8 \ - # Enabling - && docker-php-ext-enable mongo \ - && true - - -# -------------------- Installing PHP Extension: mysql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure mysql --with-mysql --with-mysql-sock --with-zlib-dir=/usr --with-libdir="/lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql \ - && true - - -# -------------------- Installing PHP Extension: mysqli -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ - && true - - -# -------------------- Installing PHP Extension: oauth -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install oauth-1.2.3 \ - # Enabling - && docker-php-ext-enable oauth \ - && true - - -# -------------------- Installing PHP Extension: opcache -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Custom: Pecl command - && pecl install zendopcache \ - # Enabling - && docker-php-ext-enable opcache \ - && true - - -# -------------------- Installing PHP Extension: pcntl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ - && true - - -# -------------------- Installing PHP Extension: pdo_dblib -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ - && true - - -# -------------------- Installing PHP Extension: pdo_firebird -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ - && true - - -# -------------------- Installing PHP Extension: pdo_mysql -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Default: configure command - && docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ - && true - - -# -------------------- Installing PHP Extension: pdo_pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ - && true - - -# -------------------- Installing PHP Extension: pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ - && true - - -# -------------------- Installing PHP Extension: redis -------------------- -RUN set -eux \ - # Generic pre-command - && if [ -f /usr/include/liblzf/lzf.h ]; then \ - ln -s /usr/include/liblzf/lzf.h /usr/include/; \ -fi \ - \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install redis-2.2.7 \ - # Enabling - && docker-php-ext-enable redis \ - && true - - -# -------------------- Installing PHP Extension: phar -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install phar \ - # Enabling - && docker-php-ext-enable phar \ - && true - - -# -------------------- Installing PHP Extension: pspell -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ - && true - - -# -------------------- Installing PHP Extension: shmop -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ - && true - - -# -------------------- Installing PHP Extension: snmp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure snmp --with-snmp \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ - && true - - -# -------------------- Installing PHP Extension: soap -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ - && true - - -# -------------------- Installing PHP Extension: sockets -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ - && true - - -# -------------------- Installing PHP Extension: zip -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure zip --enable-zip \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ - && true - - -# -------------------- Installing PHP Extension: sysvmsg -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ - && true - - -# -------------------- Installing PHP Extension: sysvsem -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ - && true - - -# -------------------- Installing PHP Extension: sysvshm -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ - && true - - -# -------------------- Installing PHP Extension: tidy -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ - && true - - -# -------------------- Installing PHP Extension: uploadprogress -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install uploadprogress-1.1.4 \ - # Enabling - && docker-php-ext-enable uploadprogress \ - && true - - -# -------------------- Installing PHP Extension: wddx -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure wddx --with-libxml-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ - && true - - -# -------------------- Installing PHP Extension: xdebug -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install xdebug-2.2.7 \ - # Enabling - && docker-php-ext-enable xdebug \ - && true - - -# -------------------- Installing PHP Extension: xmlrpc -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ - && true - - -# -------------------- Installing PHP Extension: xsl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ - && true - - # Fix php.ini settings for enabled extensions @@ -593,30 +95,6 @@ LABEL "org.opencontainers.image.description"="PHP-FPM 5.2-mods" RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - libaspell15 \ - libc-client2007e \ - libenchant1c2a \ - libevent-2.0-5 \ - libfbclient2 \ - libfreetype6 \ - libicu52 \ - libjpeg62-turbo \ - libmagic1 \ - libmcrypt4 \ - libmemcachedutil2 \ - libmysqlclient18 \ - libpng12-0 \ - libpq5 \ - librabbitmq1 \ - librecode0 \ - libsybdb5 \ - libtidy-0.99-0 \ - libvpx1 \ - libwebp5 \ - libxpm4 \ - libxslt1.1 \ - libzip2 \ - snmp \ ca-certificates \ && rm -rf /var/lib/apt/lists/* \ \ @@ -656,157 +134,8 @@ RUN set -eux \ && if [ -n "${PHP_FPM_ERROR}" ]; then echo "${PHP_FPM_ERROR}"; false; fi \ && rm -f /usr/local/etc/php/php.ini \ \ - && php -m | grep -oiE '^amqp$' \ - && php-fpm -m | grep -oiE '^amqp$' \ - && php -m | grep -oiE '^bcmath$' \ - && php-fpm -m | grep -oiE '^bcmath$' \ - && php -m | grep -oiE '^bz2$' \ - && php-fpm -m | grep -oiE '^bz2$' \ - && php -m | grep -oiE '^calendar$' \ - && php-fpm -m | grep -oiE '^calendar$' \ - && php -m | grep -oiE '^ctype$' \ - && php-fpm -m | grep -oiE '^ctype$' \ - && php -m | grep -oiE '^curl$' \ - && php-fpm -m | grep -oiE '^curl$' \ - && php -m | grep -oiE '^date$' \ - && php-fpm -m | grep -oiE '^date$' \ - && php -m | grep -oiE '^dba$' \ - && php-fpm -m | grep -oiE '^dba$' \ - && php -m | grep -oiE '^libxml$' \ - && php-fpm -m | grep -oiE '^libxml$' \ - && php -m | grep -oiE '^dom$' \ - && php-fpm -m | grep -oiE '^dom$' \ - && php -m | grep -oiE '^enchant$' \ - && php-fpm -m | grep -oiE '^enchant$' \ - && php -m | grep -oiE '^mbstring$' \ - && php-fpm -m | grep -oiE '^mbstring$' \ - && php -m | grep -oiE '^exif$' \ - && php-fpm -m | grep -oiE '^exif$' \ - && php -m | grep -oiE '^fileinfo$' \ - && php-fpm -m | grep -oiE '^fileinfo$' \ - && php -m | grep -oiE '^filter$' \ - && php-fpm -m | grep -oiE '^filter$' \ - && php -m | grep -oiE '^ftp$' \ - && php-fpm -m | grep -oiE '^ftp$' \ - && php -m | grep -oiE '^gd$' \ - && php-fpm -m | grep -oiE '^gd$' \ - && php -m | grep -oiE '^gettext$' \ - && php-fpm -m | grep -oiE '^gettext$' \ && php -m | grep -oiE '^hash$' \ && php-fpm -m | grep -oiE '^hash$' \ - && php -m | grep -oiE '^iconv$' \ - && php-fpm -m | grep -oiE '^iconv$' \ - && php -m | grep -oiE '^igbinary$' \ - && php-fpm -m | grep -oiE '^igbinary$' \ - && php -m | grep -oiE '^imap$' \ - && php-fpm -m | grep -oiE '^imap$' \ - && php -m | grep -oiE '^interbase$' \ - && php-fpm -m | grep -oiE '^interbase$' \ - && php -m | grep -oiE '^intl$' \ - && php-fpm -m | grep -oiE '^intl$' \ - && php -m | grep -oiE '^json$' \ - && php-fpm -m | grep -oiE '^json$' \ - && php -m | grep -oiE '^ldap$' \ - && php-fpm -m | grep -oiE '^ldap$' \ - && php -m | grep -oiE '^mcrypt$' \ - && php-fpm -m | grep -oiE '^mcrypt$' \ - && php -m | grep -oiE '^memcache$' \ - && php-fpm -m | grep -oiE '^memcache$' \ - && php -m | grep -oiE '^msgpack$' \ - && php-fpm -m | grep -oiE '^msgpack$' \ - && php -m | grep -oiE '^memcached$' \ - && php-fpm -m | grep -oiE '^memcached$' \ - && php -m | grep -oiE '^mhash$' \ - && php-fpm -m | grep -oiE '^mhash$' \ - && php -m | grep -oiE '^mongo$' \ - && php-fpm -m | grep -oiE '^mongo$' \ - && php -m | grep -oiE '^mysql$' \ - && php-fpm -m | grep -oiE '^mysql$' \ - && php -m | grep -oiE '^mysqli$' \ - && php-fpm -m | grep -oiE '^mysqli$' \ - && php -m | grep -oiE '^pcre$' \ - && php-fpm -m | grep -oiE '^pcre$' \ - && php -m | grep -oiE '^oauth$' \ - && php-fpm -m | grep -oiE '^oauth$' \ - && php -m | grep -oiE '^Zend Opcache$' \ - && php-fpm -m | grep -oiE '^Zend Opcache$' \ - && php -m | grep -oiE '^openssl$' \ - && php-fpm -m | grep -oiE '^openssl$' \ - && php -m | grep -oiE '^pcntl$' \ - && php-fpm -m | grep -oiE '^pcntl$' \ - && php -m | grep -oiE '^pdo$' \ - && php-fpm -m | grep -oiE '^pdo$' \ - && php -m | grep -oiE '^pdo_dblib$' \ - && php-fpm -m | grep -oiE '^pdo_dblib$' \ - && php -m | grep -oiE '^pdo_firebird$' \ - && php-fpm -m | grep -oiE '^pdo_firebird$' \ - && php -m | grep -oiE '^pdo_mysql$' \ - && php-fpm -m | grep -oiE '^pdo_mysql$' \ - && php -m | grep -oiE '^pdo_pgsql$' \ - && php-fpm -m | grep -oiE '^pdo_pgsql$' \ - && php -m | grep -oiE '^pdo_sqlite$' \ - && php-fpm -m | grep -oiE '^pdo_sqlite$' \ - && php -m | grep -oiE '^pgsql$' \ - && php-fpm -m | grep -oiE '^pgsql$' \ - && php -m | grep -oiE '^redis$' \ - && php-fpm -m | grep -oiE '^redis$' \ - && php -m | grep -oiE '^phar$' \ - && php-fpm -m | grep -oiE '^phar$' \ - && php -m | grep -oiE '^posix$' \ - && php-fpm -m | grep -oiE '^posix$' \ - && php -m | grep -oiE '^pspell$' \ - && php-fpm -m | grep -oiE '^pspell$' \ - && php -m | grep -oiE '^readline$' \ - && php -m | grep -oiE '^recode$' \ - && php-fpm -m | grep -oiE '^recode$' \ - && php -m | grep -oiE '^reflection$' \ - && php-fpm -m | grep -oiE '^reflection$' \ - && php -m | grep -oiE '^session$' \ - && php-fpm -m | grep -oiE '^session$' \ - && php -m | grep -oiE '^shmop$' \ - && php-fpm -m | grep -oiE '^shmop$' \ - && php -m | grep -oiE '^simplexml$' \ - && php-fpm -m | grep -oiE '^simplexml$' \ - && php -m | grep -oiE '^snmp$' \ - && php-fpm -m | grep -oiE '^snmp$' \ - && php -m | grep -oiE '^soap$' \ - && php-fpm -m | grep -oiE '^soap$' \ - && php -m | grep -oiE '^sockets$' \ - && php-fpm -m | grep -oiE '^sockets$' \ - && php -m | grep -oiE '^spl$' \ - && php-fpm -m | grep -oiE '^spl$' \ - && php -m | grep -oiE '^sqlite$' \ - && php-fpm -m | grep -oiE '^sqlite$' \ - && php -m | grep -oiE '^xml$' \ - && php-fpm -m | grep -oiE '^xml$' \ - && php -m | grep -oiE '^zip$' \ - && php-fpm -m | grep -oiE '^zip$' \ - && php -m | grep -oiE '^sysvmsg$' \ - && php-fpm -m | grep -oiE '^sysvmsg$' \ - && php -m | grep -oiE '^sysvsem$' \ - && php-fpm -m | grep -oiE '^sysvsem$' \ - && php -m | grep -oiE '^sysvshm$' \ - && php-fpm -m | grep -oiE '^sysvshm$' \ - && php -m | grep -oiE '^tidy$' \ - && php-fpm -m | grep -oiE '^tidy$' \ - && php -m | grep -oiE '^tokenizer$' \ - && php-fpm -m | grep -oiE '^tokenizer$' \ - && php -m | grep -oiE '^uploadprogress$' \ - && php-fpm -m | grep -oiE '^uploadprogress$' \ - && php -m | grep -oiE '^wddx$' \ - && php-fpm -m | grep -oiE '^wddx$' \ - && php -m | grep -oiE '^xdebug$' \ - && php-fpm -m | grep -oiE '^xdebug$' \ - && php -m | grep -oiE '^xmlreader$' \ - && php-fpm -m | grep -oiE '^xmlreader$' \ - && php -m | grep -oiE '^xmlrpc$' \ - && php-fpm -m | grep -oiE '^xmlrpc$' \ - && php -m | grep -oiE '^xmlwriter$' \ - && php-fpm -m | grep -oiE '^xmlwriter$' \ - && php -m | grep -oiE '^xsl$' \ - && php-fpm -m | grep -oiE '^xsl$' \ - && php -m | grep -oiE '^zlib$' \ - && php-fpm -m | grep -oiE '^zlib$' \ && true diff --git a/Dockerfiles/mods/Dockerfile-5.3 b/Dockerfiles/mods/Dockerfile-5.3 index 6daa551..8864789 100644 --- a/Dockerfiles/mods/Dockerfile-5.3 +++ b/Dockerfiles/mods/Dockerfile-5.3 @@ -9,49 +9,6 @@ FROM devilbox/php-fpm:5.3-base as builder RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - alien \ - firebird-dev \ - freetds-dev \ - libaio-dev \ - libbz2-dev \ - libc-ares-dev \ - libc-client-dev \ - libcurl4-openssl-dev \ - libenchant-dev \ - libevent-dev \ - libfbclient2 \ - libfreetype6-dev \ - libgmp-dev \ - libib-util \ - libicu-dev \ - libjpeg-dev \ - libkrb5-dev \ - libldap2-dev \ - libmcrypt-dev \ - libmemcached-dev \ - libmysqlclient-dev \ - libnghttp2-dev \ - libpcre3-dev \ - libpng-dev \ - libpq-dev \ - libpspell-dev \ - librabbitmq-dev \ - librdkafka-dev \ - libsasl2-dev \ - libsnmp-dev \ - libssl-dev \ - libtidy-dev \ - libvpx-dev \ - libwebp-dev \ - libxml2-dev \ - libxpm-dev \ - libxslt-dev \ - libyaml-dev \ - libzip-dev \ - re2c \ - snmp \ - uuid-dev \ - zlib1g-dev \ # Build tools autoconf \ bison \ @@ -91,584 +48,6 @@ RUN set -eux \ echo "ffi.enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install amqp-1.9.3 \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install apcu-4.0.11 \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Version specific pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ -mkdir /usr/include/freetype2/freetype && \ -ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary-2.0.8 \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imap -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libkrb5* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ - && true - - -# -------------------- Installing PHP Extension: interbase -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ - && true - - -# -------------------- Installing PHP Extension: intl -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ - && true - - -# -------------------- Installing PHP Extension: ldap -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libldap* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ - && true - - -# -------------------- Installing PHP Extension: mcrypt -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ - && true - - -# -------------------- Installing PHP Extension: memcache -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install memcache-2.2.7 \ - # Enabling - && docker-php-ext-enable memcache \ - && true - - -# -------------------- Installing PHP Extension: msgpack -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install msgpack-0.5.7 \ - # Enabling - && docker-php-ext-enable msgpack \ - && true - - -# -------------------- Installing PHP Extension: memcached -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install memcached-2.2.0 \ - # Enabling - && docker-php-ext-enable memcached \ - && true - - -# -------------------- Installing PHP Extension: mongo -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && yes yes | pecl install mongo \ - # Enabling - && docker-php-ext-enable mongo \ - && true - - -# -------------------- Installing PHP Extension: mongodb -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install mongodb-0.6.3 \ - # Enabling - && docker-php-ext-enable mongodb \ - && true - - -# -------------------- Installing PHP Extension: mysql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure mysql --with-mysql --with-mysql-sock --with-zlib-dir=/usr --with-libdir="/lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql \ - && true - - -# -------------------- Installing PHP Extension: mysqli -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ - && true - - -# -------------------- Installing PHP Extension: oauth -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install oauth-1.2.3 \ - # Enabling - && docker-php-ext-enable oauth \ - && true - - -# -------------------- Installing PHP Extension: oci8 -------------------- -RUN set -eux \ - # Generic pre-command - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -\ -&& rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure oci8 --with-oci8=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) oci8 \ - # Generic post-command - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -&& (ln -sf /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - \ - && true - - -# -------------------- Installing PHP Extension: opcache -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Custom: Pecl command - && pecl install zendopcache \ - # Enabling - && docker-php-ext-enable opcache \ - && true - - -# -------------------- Installing PHP Extension: pcntl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ - && true - - -# -------------------- Installing PHP Extension: pdo_dblib -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ - && true - - -# -------------------- Installing PHP Extension: pdo_firebird -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ - && true - - -# -------------------- Installing PHP Extension: pdo_mysql -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Default: configure command - && docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ - && true - - -# -------------------- Installing PHP Extension: pdo_pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ - && true - - -# -------------------- Installing PHP Extension: pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ - && true - - -# -------------------- Installing PHP Extension: redis -------------------- -RUN set -eux \ - # Generic pre-command - && if [ -f /usr/include/liblzf/lzf.h ]; then \ - ln -s /usr/include/liblzf/lzf.h /usr/include/; \ -fi \ - \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install redis-4.3.0 \ - # Enabling - && docker-php-ext-enable redis \ - && true - - -# -------------------- Installing PHP Extension: phalcon -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: GIT extension - && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ - && cd /tmp/phalcon \ - # Custom: Branch - && git checkout phalcon-v2.0.9 \ - # Custom: Install command - && cd build && ./install \ - # Enabling - && docker-php-ext-enable phalcon \ - && true - - -# -------------------- Installing PHP Extension: pspell -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ - && true - - -# -------------------- Installing PHP Extension: rdkafka -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install rdkafka-3.0.5 \ - # Enabling - && docker-php-ext-enable rdkafka \ - && true - - -# -------------------- Installing PHP Extension: shmop -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ - && true - - -# -------------------- Installing PHP Extension: snmp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure snmp --with-snmp \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ - && true - - -# -------------------- Installing PHP Extension: soap -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ - && true - - -# -------------------- Installing PHP Extension: sockets -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ - && true - - -# -------------------- Installing PHP Extension: zip -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure zip --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ - && true - - -# -------------------- Installing PHP Extension: swoole -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install swoole-1.9.23 \ - # Enabling - && docker-php-ext-enable swoole \ - && true - - -# -------------------- Installing PHP Extension: sysvmsg -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ - && true - - -# -------------------- Installing PHP Extension: sysvsem -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ - && true - - -# -------------------- Installing PHP Extension: sysvshm -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ - && true - - -# -------------------- Installing PHP Extension: tidy -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ - && true - - -# -------------------- Installing PHP Extension: uploadprogress -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install uploadprogress-1.1.4 \ - # Enabling - && docker-php-ext-enable uploadprogress \ - && true - - -# -------------------- Installing PHP Extension: uuid -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install uuid-1.0.5 \ - # Enabling - && docker-php-ext-enable uuid \ - && true - - -# -------------------- Installing PHP Extension: wddx -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure wddx --with-libxml-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ - && true - - -# -------------------- Installing PHP Extension: xdebug -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install xdebug-2.2.7 \ - # Enabling - && docker-php-ext-enable xdebug \ - && true - - -# -------------------- Installing PHP Extension: xmlrpc -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ - && true - - -# -------------------- Installing PHP Extension: xsl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ - && true - - -# -------------------- Installing PHP Extension: yaml -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install yaml-1.3.2 \ - # Enabling - && docker-php-ext-enable yaml \ - && true - - # Fix php.ini settings for enabled extensions @@ -716,37 +95,6 @@ LABEL "org.opencontainers.image.description"="PHP-FPM 5.3-mods" RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - libaio1 \ - libaspell15 \ - libc-ares2 \ - libc-client2007e \ - libenchant1c2a \ - libevent-2.0-5 \ - libfbclient2 \ - libfreetype6 \ - libicu52 \ - libjpeg62-turbo \ - libmcrypt4 \ - libmemcachedutil2 \ - libmysqlclient18 \ - libnghttp2-5 \ - libpng12-0 \ - libpq5 \ - librabbitmq1 \ - librdkafka1 \ - librecode0 \ - libssl1.0.0 \ - libsybdb5 \ - libtidy-0.99-0 \ - libvpx1 \ - libwebp5 \ - libxpm4 \ - libxslt1.1 \ - libyaml-0-2 \ - libzip2 \ - snmp \ - uuid \ - zlib1g \ ca-certificates \ && rm -rf /var/lib/apt/lists/* \ \ @@ -767,23 +115,6 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/ ### ### Post Install executions ### -RUN set -eux \ - # ---------- oci8 ---------- - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -&& (ln -sf /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - \ - && true - - ### ### Verify ### @@ -803,183 +134,8 @@ RUN set -eux \ && if [ -n "${PHP_FPM_ERROR}" ]; then echo "${PHP_FPM_ERROR}"; false; fi \ && rm -f /usr/local/etc/php/php.ini \ \ - && php -m | grep -oiE '^amqp$' \ - && php-fpm -m | grep -oiE '^amqp$' \ - && php -m | grep -oiE '^apc$' \ - && php-fpm -m | grep -oiE '^apc$' \ - && php -m | grep -oiE '^apcu$' \ - && php-fpm -m | grep -oiE '^apcu$' \ - && php -m | grep -oiE '^bcmath$' \ - && php-fpm -m | grep -oiE '^bcmath$' \ - && php -m | grep -oiE '^bz2$' \ - && php-fpm -m | grep -oiE '^bz2$' \ - && php -m | grep -oiE '^calendar$' \ - && php-fpm -m | grep -oiE '^calendar$' \ - && php -m | grep -oiE '^ctype$' \ - && php-fpm -m | grep -oiE '^ctype$' \ - && php -m | grep -oiE '^curl$' \ - && php-fpm -m | grep -oiE '^curl$' \ - && php -m | grep -oiE '^date$' \ - && php-fpm -m | grep -oiE '^date$' \ - && php -m | grep -oiE '^dba$' \ - && php-fpm -m | grep -oiE '^dba$' \ - && php -m | grep -oiE '^libxml$' \ - && php-fpm -m | grep -oiE '^libxml$' \ - && php -m | grep -oiE '^dom$' \ - && php-fpm -m | grep -oiE '^dom$' \ - && php -m | grep -oiE '^enchant$' \ - && php-fpm -m | grep -oiE '^enchant$' \ - && php -m | grep -oiE '^ereg$' \ - && php-fpm -m | grep -oiE '^ereg$' \ - && php -m | grep -oiE '^mbstring$' \ - && php-fpm -m | grep -oiE '^mbstring$' \ - && php -m | grep -oiE '^exif$' \ - && php-fpm -m | grep -oiE '^exif$' \ - && php -m | grep -oiE '^fileinfo$' \ - && php-fpm -m | grep -oiE '^fileinfo$' \ - && php -m | grep -oiE '^filter$' \ - && php-fpm -m | grep -oiE '^filter$' \ - && php -m | grep -oiE '^ftp$' \ - && php-fpm -m | grep -oiE '^ftp$' \ - && php -m | grep -oiE '^gd$' \ - && php-fpm -m | grep -oiE '^gd$' \ - && php -m | grep -oiE '^gettext$' \ - && php-fpm -m | grep -oiE '^gettext$' \ - && php -m | grep -oiE '^gmp$' \ - && php-fpm -m | grep -oiE '^gmp$' \ && php -m | grep -oiE '^hash$' \ && php-fpm -m | grep -oiE '^hash$' \ - && php -m | grep -oiE '^iconv$' \ - && php-fpm -m | grep -oiE '^iconv$' \ - && php -m | grep -oiE '^igbinary$' \ - && php-fpm -m | grep -oiE '^igbinary$' \ - && php -m | grep -oiE '^imap$' \ - && php-fpm -m | grep -oiE '^imap$' \ - && php -m | grep -oiE '^interbase$' \ - && php-fpm -m | grep -oiE '^interbase$' \ - && php -m | grep -oiE '^intl$' \ - && php-fpm -m | grep -oiE '^intl$' \ - && php -m | grep -oiE '^json$' \ - && php-fpm -m | grep -oiE '^json$' \ - && php -m | grep -oiE '^ldap$' \ - && php-fpm -m | grep -oiE '^ldap$' \ - && php -m | grep -oiE '^mcrypt$' \ - && php-fpm -m | grep -oiE '^mcrypt$' \ - && php -m | grep -oiE '^memcache$' \ - && php-fpm -m | grep -oiE '^memcache$' \ - && php -m | grep -oiE '^msgpack$' \ - && php-fpm -m | grep -oiE '^msgpack$' \ - && php -m | grep -oiE '^memcached$' \ - && php-fpm -m | grep -oiE '^memcached$' \ - && php -m | grep -oiE '^mhash$' \ - && php-fpm -m | grep -oiE '^mhash$' \ - && 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 '^mysql$' \ - && php-fpm -m | grep -oiE '^mysql$' \ - && php -m | grep -oiE '^mysqli$' \ - && php-fpm -m | grep -oiE '^mysqli$' \ - && php -m | grep -oiE '^mysqlnd$' \ - && php-fpm -m | grep -oiE '^mysqlnd$' \ - && php -m | grep -oiE '^pcre$' \ - && php-fpm -m | grep -oiE '^pcre$' \ - && php -m | grep -oiE '^oauth$' \ - && php-fpm -m | grep -oiE '^oauth$' \ - && php -m | grep -oiE '^oci8$' \ - && php-fpm -m | grep -oiE '^oci8$' \ - && php -m | grep -oiE '^Zend Opcache$' \ - && php-fpm -m | grep -oiE '^Zend Opcache$' \ - && php -m | grep -oiE '^openssl$' \ - && php-fpm -m | grep -oiE '^openssl$' \ - && php -m | grep -oiE '^pcntl$' \ - && php-fpm -m | grep -oiE '^pcntl$' \ - && php -m | grep -oiE '^pdo$' \ - && php-fpm -m | grep -oiE '^pdo$' \ - && php -m | grep -oiE '^pdo_dblib$' \ - && php-fpm -m | grep -oiE '^pdo_dblib$' \ - && php -m | grep -oiE '^pdo_firebird$' \ - && php-fpm -m | grep -oiE '^pdo_firebird$' \ - && php -m | grep -oiE '^pdo_mysql$' \ - && php-fpm -m | grep -oiE '^pdo_mysql$' \ - && php -m | grep -oiE '^pdo_pgsql$' \ - && php-fpm -m | grep -oiE '^pdo_pgsql$' \ - && php -m | grep -oiE '^pdo_sqlite$' \ - && php-fpm -m | grep -oiE '^pdo_sqlite$' \ - && php -m | grep -oiE '^pgsql$' \ - && php-fpm -m | grep -oiE '^pgsql$' \ - && php -m | grep -oiE '^redis$' \ - && php-fpm -m | grep -oiE '^redis$' \ - && php -m | grep -oiE '^sqlite3$' \ - && php-fpm -m | grep -oiE '^sqlite3$' \ - && 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$' \ - && php-fpm -m | grep -oiE '^posix$' \ - && php -m | grep -oiE '^pspell$' \ - && php-fpm -m | grep -oiE '^pspell$' \ - && php -m | grep -oiE '^rdkafka$' \ - && php-fpm -m | grep -oiE '^rdkafka$' \ - && php -m | grep -oiE '^readline$' \ - && php -m | grep -oiE '^recode$' \ - && php-fpm -m | grep -oiE '^recode$' \ - && php -m | grep -oiE '^reflection$' \ - && php-fpm -m | grep -oiE '^reflection$' \ - && php -m | grep -oiE '^session$' \ - && php-fpm -m | grep -oiE '^session$' \ - && php -m | grep -oiE '^shmop$' \ - && php-fpm -m | grep -oiE '^shmop$' \ - && php -m | grep -oiE '^simplexml$' \ - && php-fpm -m | grep -oiE '^simplexml$' \ - && php -m | grep -oiE '^snmp$' \ - && php-fpm -m | grep -oiE '^snmp$' \ - && php -m | grep -oiE '^soap$' \ - && php-fpm -m | grep -oiE '^soap$' \ - && php -m | grep -oiE '^sockets$' \ - && php-fpm -m | grep -oiE '^sockets$' \ - && php -m | grep -oiE '^spl$' \ - && php-fpm -m | grep -oiE '^spl$' \ - && php -m | grep -oiE '^sqlite$' \ - && php-fpm -m | grep -oiE '^sqlite$' \ - && php -m | grep -oiE '^xml$' \ - && php-fpm -m | grep -oiE '^xml$' \ - && php -m | grep -oiE '^zip$' \ - && php-fpm -m | grep -oiE '^zip$' \ - && 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$' \ - && php-fpm -m | grep -oiE '^sysvsem$' \ - && php -m | grep -oiE '^sysvshm$' \ - && php-fpm -m | grep -oiE '^sysvshm$' \ - && php -m | grep -oiE '^tidy$' \ - && php-fpm -m | grep -oiE '^tidy$' \ - && php -m | grep -oiE '^tokenizer$' \ - && php-fpm -m | grep -oiE '^tokenizer$' \ - && php -m | grep -oiE '^uploadprogress$' \ - && php-fpm -m | grep -oiE '^uploadprogress$' \ - && php -m | grep -oiE '^uuid$' \ - && php-fpm -m | grep -oiE '^uuid$' \ - && php -m | grep -oiE '^wddx$' \ - && php-fpm -m | grep -oiE '^wddx$' \ - && php -m | grep -oiE '^xdebug$' \ - && php-fpm -m | grep -oiE '^xdebug$' \ - && php -m | grep -oiE '^xmlreader$' \ - && php-fpm -m | grep -oiE '^xmlreader$' \ - && php -m | grep -oiE '^xmlrpc$' \ - && php-fpm -m | grep -oiE '^xmlrpc$' \ - && php -m | grep -oiE '^xmlwriter$' \ - && php-fpm -m | grep -oiE '^xmlwriter$' \ - && php -m | grep -oiE '^xsl$' \ - && php-fpm -m | grep -oiE '^xsl$' \ - && php -m | grep -oiE '^yaml$' \ - && php-fpm -m | grep -oiE '^yaml$' \ - && php -m | grep -oiE '^zlib$' \ - && php-fpm -m | grep -oiE '^zlib$' \ && true diff --git a/Dockerfiles/mods/Dockerfile-5.4 b/Dockerfiles/mods/Dockerfile-5.4 index 9cefb73..190e2ce 100644 --- a/Dockerfiles/mods/Dockerfile-5.4 +++ b/Dockerfiles/mods/Dockerfile-5.4 @@ -9,49 +9,6 @@ FROM devilbox/php-fpm:5.4-base as builder RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - alien \ - firebird-dev \ - freetds-dev \ - libaio-dev \ - libbz2-dev \ - libc-ares-dev \ - libc-client-dev \ - libcurl4-openssl-dev \ - libenchant-dev \ - libevent-dev \ - libfbclient2 \ - libfreetype6-dev \ - libgmp-dev \ - libib-util \ - libicu-dev \ - libjpeg-dev \ - libkrb5-dev \ - libldap2-dev \ - libmcrypt-dev \ - libmemcached-dev \ - libmysqlclient-dev \ - libnghttp2-dev \ - libpcre3-dev \ - libpng-dev \ - libpq-dev \ - libpspell-dev \ - librabbitmq-dev \ - librdkafka-dev \ - libsasl2-dev \ - libsnmp-dev \ - libssl-dev \ - libtidy-dev \ - libvpx-dev \ - libwebp-dev \ - libxml2-dev \ - libxpm-dev \ - libxslt-dev \ - libyaml-dev \ - libzip-dev \ - re2c \ - snmp \ - uuid-dev \ - zlib1g-dev \ # Build tools autoconf \ bison \ @@ -91,595 +48,6 @@ RUN set -eux \ echo "ffi.enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install amqp-1.9.3 \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install apcu-4.0.11 \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Version specific pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ -mkdir /usr/include/freetype2/freetype && \ -ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary-2.0.8 \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imap -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libkrb5* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure imap --with-kerberos --with-imap-ssl --with-imap \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) imap \ - && true - - -# -------------------- Installing PHP Extension: interbase -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) interbase \ - && true - - -# -------------------- Installing PHP Extension: intl -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) intl \ - && true - - -# -------------------- Installing PHP Extension: ldap -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libldap* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure ldap --with-ldap --with-ldap-sasl \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ldap \ - && true - - -# -------------------- Installing PHP Extension: mcrypt -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mcrypt \ - && true - - -# -------------------- Installing PHP Extension: memcache -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install memcache-2.2.7 \ - # Enabling - && docker-php-ext-enable memcache \ - && true - - -# -------------------- Installing PHP Extension: msgpack -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install msgpack-0.5.7 \ - # Enabling - && docker-php-ext-enable msgpack \ - && true - - -# -------------------- Installing PHP Extension: memcached -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install memcached-2.2.0 \ - # Enabling - && docker-php-ext-enable memcached \ - && true - - -# -------------------- Installing PHP Extension: mongo -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && yes yes | pecl install mongo \ - # Enabling - && docker-php-ext-enable mongo \ - && true - - -# -------------------- Installing PHP Extension: mongodb -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install mongodb-1.2.11 \ - # Enabling - && docker-php-ext-enable mongodb \ - && true - - -# -------------------- Installing PHP Extension: mysql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure mysql --with-mysql --with-mysql-sock --with-zlib-dir=/usr --with-libdir="/lib/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysql \ - && true - - -# -------------------- Installing PHP Extension: mysqli -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) mysqli \ - && true - - -# -------------------- Installing PHP Extension: oauth -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install oauth-1.2.3 \ - # Enabling - && docker-php-ext-enable oauth \ - && true - - -# -------------------- Installing PHP Extension: oci8 -------------------- -RUN set -eux \ - # Generic pre-command - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -\ -&& rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ - \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure oci8 --with-oci8=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) oci8 \ - # Generic post-command - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -&& (ln -sf /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - \ - && true - - -# -------------------- Installing PHP Extension: opcache -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Custom: Pecl command - && pecl install zendopcache \ - # Enabling - && docker-php-ext-enable opcache \ - && true - - -# -------------------- Installing PHP Extension: pcntl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ - && true - - -# -------------------- Installing PHP Extension: pdo_dblib -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ - && true - - -# -------------------- Installing PHP Extension: pdo_firebird -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ - && true - - -# -------------------- Installing PHP Extension: pdo_mysql -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Default: configure command - && docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ - && true - - -# -------------------- Installing PHP Extension: pdo_pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ - && true - - -# -------------------- Installing PHP Extension: pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ - && true - - -# -------------------- Installing PHP Extension: psr -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install psr-0.5.1 \ - # Enabling - && docker-php-ext-enable psr \ - && true - - -# -------------------- Installing PHP Extension: redis -------------------- -RUN set -eux \ - # Generic pre-command - && if [ -f /usr/include/liblzf/lzf.h ]; then \ - ln -s /usr/include/liblzf/lzf.h /usr/include/; \ -fi \ - \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install redis-4.3.0 \ - # Enabling - && docker-php-ext-enable redis \ - && true - - -# -------------------- Installing PHP Extension: phalcon -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: GIT extension - && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ - && cd /tmp/phalcon \ - # Custom: Branch - && git checkout phalcon-v2.0.13 \ - # Custom: Install command - && cd build && ./install \ - # Enabling - && docker-php-ext-enable phalcon \ - && true - - -# -------------------- Installing PHP Extension: pspell -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ - && true - - -# -------------------- Installing PHP Extension: rdkafka -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install rdkafka-3.0.5 \ - # Enabling - && docker-php-ext-enable rdkafka \ - && true - - -# -------------------- Installing PHP Extension: shmop -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ - && true - - -# -------------------- Installing PHP Extension: snmp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure snmp --with-snmp \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ - && true - - -# -------------------- Installing PHP Extension: soap -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ - && true - - -# -------------------- Installing PHP Extension: sockets -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ - && true - - -# -------------------- Installing PHP Extension: zip -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure zip --enable-zip --with-zlib-dir=/usr --with-pcre-dir=/usr \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ - && true - - -# -------------------- Installing PHP Extension: swoole -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install swoole-1.9.23 \ - # Enabling - && docker-php-ext-enable swoole \ - && true - - -# -------------------- Installing PHP Extension: sysvmsg -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ - && true - - -# -------------------- Installing PHP Extension: sysvsem -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ - && true - - -# -------------------- Installing PHP Extension: sysvshm -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ - && true - - -# -------------------- Installing PHP Extension: tidy -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ - && true - - -# -------------------- Installing PHP Extension: uploadprogress -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install uploadprogress-1.1.4 \ - # Enabling - && docker-php-ext-enable uploadprogress \ - && true - - -# -------------------- Installing PHP Extension: uuid -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install uuid-1.0.5 \ - # Enabling - && docker-php-ext-enable uuid \ - && true - - -# -------------------- Installing PHP Extension: wddx -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure wddx --with-libxml-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) wddx \ - && true - - -# -------------------- Installing PHP Extension: xdebug -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install xdebug-2.4.1 \ - # Enabling - && docker-php-ext-enable xdebug \ - && true - - -# -------------------- Installing PHP Extension: xmlrpc -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure xmlrpc --with-libxml-dir=/usr --with-iconv-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \ - && true - - -# -------------------- Installing PHP Extension: xsl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ - && true - - -# -------------------- Installing PHP Extension: yaml -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install yaml-1.3.2 \ - # Enabling - && docker-php-ext-enable yaml \ - && true - - # Fix php.ini settings for enabled extensions @@ -727,37 +95,6 @@ LABEL "org.opencontainers.image.description"="PHP-FPM 5.4-mods" RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - libaio1 \ - libaspell15 \ - libc-ares2 \ - libc-client2007e \ - libenchant1c2a \ - libevent-2.0-5 \ - libfbclient2 \ - libfreetype6 \ - libicu52 \ - libjpeg62-turbo \ - libmcrypt4 \ - libmemcachedutil2 \ - libmysqlclient18 \ - libnghttp2-5 \ - libpng12-0 \ - libpq5 \ - librabbitmq1 \ - librdkafka1 \ - librecode0 \ - libssl1.0.0 \ - libsybdb5 \ - libtidy-0.99-0 \ - libvpx1 \ - libwebp5 \ - libxpm4 \ - libxslt1.1 \ - libyaml-0-2 \ - libzip2 \ - snmp \ - uuid \ - zlib1g \ ca-certificates \ && rm -rf /var/lib/apt/lists/* \ \ @@ -778,23 +115,6 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/ ### ### Post Install executions ### -RUN set -eux \ - # ---------- oci8 ---------- - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -&& (ln -sf /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - \ - && true - - ### ### Verify ### @@ -814,183 +134,8 @@ RUN set -eux \ && if [ -n "${PHP_FPM_ERROR}" ]; then echo "${PHP_FPM_ERROR}"; false; fi \ && rm -f /usr/local/etc/php/php.ini \ \ - && php -m | grep -oiE '^amqp$' \ - && php-fpm -m | grep -oiE '^amqp$' \ - && php -m | grep -oiE '^apc$' \ - && php-fpm -m | grep -oiE '^apc$' \ - && php -m | grep -oiE '^apcu$' \ - && php-fpm -m | grep -oiE '^apcu$' \ - && php -m | grep -oiE '^bcmath$' \ - && php-fpm -m | grep -oiE '^bcmath$' \ - && php -m | grep -oiE '^bz2$' \ - && php-fpm -m | grep -oiE '^bz2$' \ - && php -m | grep -oiE '^calendar$' \ - && php-fpm -m | grep -oiE '^calendar$' \ - && php -m | grep -oiE '^ctype$' \ - && php-fpm -m | grep -oiE '^ctype$' \ - && php -m | grep -oiE '^curl$' \ - && php-fpm -m | grep -oiE '^curl$' \ - && php -m | grep -oiE '^date$' \ - && php-fpm -m | grep -oiE '^date$' \ - && php -m | grep -oiE '^dba$' \ - && php-fpm -m | grep -oiE '^dba$' \ - && php -m | grep -oiE '^libxml$' \ - && php-fpm -m | grep -oiE '^libxml$' \ - && php -m | grep -oiE '^dom$' \ - && php-fpm -m | grep -oiE '^dom$' \ - && php -m | grep -oiE '^enchant$' \ - && php-fpm -m | grep -oiE '^enchant$' \ - && php -m | grep -oiE '^ereg$' \ - && php-fpm -m | grep -oiE '^ereg$' \ - && php -m | grep -oiE '^mbstring$' \ - && php-fpm -m | grep -oiE '^mbstring$' \ - && php -m | grep -oiE '^exif$' \ - && php-fpm -m | grep -oiE '^exif$' \ - && php -m | grep -oiE '^fileinfo$' \ - && php-fpm -m | grep -oiE '^fileinfo$' \ - && php -m | grep -oiE '^filter$' \ - && php-fpm -m | grep -oiE '^filter$' \ - && php -m | grep -oiE '^ftp$' \ - && php-fpm -m | grep -oiE '^ftp$' \ - && php -m | grep -oiE '^gd$' \ - && php-fpm -m | grep -oiE '^gd$' \ - && php -m | grep -oiE '^gettext$' \ - && php-fpm -m | grep -oiE '^gettext$' \ - && php -m | grep -oiE '^gmp$' \ - && php-fpm -m | grep -oiE '^gmp$' \ && php -m | grep -oiE '^hash$' \ && php-fpm -m | grep -oiE '^hash$' \ - && php -m | grep -oiE '^iconv$' \ - && php-fpm -m | grep -oiE '^iconv$' \ - && php -m | grep -oiE '^igbinary$' \ - && php-fpm -m | grep -oiE '^igbinary$' \ - && php -m | grep -oiE '^imap$' \ - && php-fpm -m | grep -oiE '^imap$' \ - && php -m | grep -oiE '^interbase$' \ - && php-fpm -m | grep -oiE '^interbase$' \ - && php -m | grep -oiE '^intl$' \ - && php-fpm -m | grep -oiE '^intl$' \ - && php -m | grep -oiE '^json$' \ - && php-fpm -m | grep -oiE '^json$' \ - && php -m | grep -oiE '^ldap$' \ - && php-fpm -m | grep -oiE '^ldap$' \ - && php -m | grep -oiE '^mcrypt$' \ - && php-fpm -m | grep -oiE '^mcrypt$' \ - && php -m | grep -oiE '^memcache$' \ - && php-fpm -m | grep -oiE '^memcache$' \ - && php -m | grep -oiE '^msgpack$' \ - && php-fpm -m | grep -oiE '^msgpack$' \ - && php -m | grep -oiE '^memcached$' \ - && php-fpm -m | grep -oiE '^memcached$' \ - && php -m | grep -oiE '^mhash$' \ - && php-fpm -m | grep -oiE '^mhash$' \ - && 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 '^mysql$' \ - && php-fpm -m | grep -oiE '^mysql$' \ - && php -m | grep -oiE '^mysqli$' \ - && php-fpm -m | grep -oiE '^mysqli$' \ - && php -m | grep -oiE '^mysqlnd$' \ - && php-fpm -m | grep -oiE '^mysqlnd$' \ - && php -m | grep -oiE '^pcre$' \ - && php-fpm -m | grep -oiE '^pcre$' \ - && php -m | grep -oiE '^oauth$' \ - && php-fpm -m | grep -oiE '^oauth$' \ - && php -m | grep -oiE '^oci8$' \ - && php-fpm -m | grep -oiE '^oci8$' \ - && php -m | grep -oiE '^Zend Opcache$' \ - && php-fpm -m | grep -oiE '^Zend Opcache$' \ - && php -m | grep -oiE '^openssl$' \ - && php-fpm -m | grep -oiE '^openssl$' \ - && php -m | grep -oiE '^pcntl$' \ - && php-fpm -m | grep -oiE '^pcntl$' \ - && php -m | grep -oiE '^pdo$' \ - && php-fpm -m | grep -oiE '^pdo$' \ - && php -m | grep -oiE '^pdo_dblib$' \ - && php-fpm -m | grep -oiE '^pdo_dblib$' \ - && php -m | grep -oiE '^pdo_firebird$' \ - && php-fpm -m | grep -oiE '^pdo_firebird$' \ - && php -m | grep -oiE '^pdo_mysql$' \ - && php-fpm -m | grep -oiE '^pdo_mysql$' \ - && php -m | grep -oiE '^pdo_pgsql$' \ - && php-fpm -m | grep -oiE '^pdo_pgsql$' \ - && php -m | grep -oiE '^pdo_sqlite$' \ - && php-fpm -m | grep -oiE '^pdo_sqlite$' \ - && php -m | grep -oiE '^pgsql$' \ - && php-fpm -m | grep -oiE '^pgsql$' \ - && php -m | grep -oiE '^psr$' \ - && php-fpm -m | grep -oiE '^psr$' \ - && php -m | grep -oiE '^redis$' \ - && php-fpm -m | grep -oiE '^redis$' \ - && php -m | grep -oiE '^sqlite3$' \ - && php-fpm -m | grep -oiE '^sqlite3$' \ - && 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$' \ - && php-fpm -m | grep -oiE '^posix$' \ - && php -m | grep -oiE '^pspell$' \ - && php-fpm -m | grep -oiE '^pspell$' \ - && php -m | grep -oiE '^rdkafka$' \ - && php-fpm -m | grep -oiE '^rdkafka$' \ - && php -m | grep -oiE '^readline$' \ - && php -m | grep -oiE '^recode$' \ - && php-fpm -m | grep -oiE '^recode$' \ - && php -m | grep -oiE '^reflection$' \ - && php-fpm -m | grep -oiE '^reflection$' \ - && php -m | grep -oiE '^session$' \ - && php-fpm -m | grep -oiE '^session$' \ - && php -m | grep -oiE '^shmop$' \ - && php-fpm -m | grep -oiE '^shmop$' \ - && php -m | grep -oiE '^simplexml$' \ - && php-fpm -m | grep -oiE '^simplexml$' \ - && php -m | grep -oiE '^snmp$' \ - && php-fpm -m | grep -oiE '^snmp$' \ - && php -m | grep -oiE '^soap$' \ - && php-fpm -m | grep -oiE '^soap$' \ - && php -m | grep -oiE '^sockets$' \ - && php-fpm -m | grep -oiE '^sockets$' \ - && php -m | grep -oiE '^spl$' \ - && php-fpm -m | grep -oiE '^spl$' \ - && php -m | grep -oiE '^xml$' \ - && php-fpm -m | grep -oiE '^xml$' \ - && php -m | grep -oiE '^zip$' \ - && php-fpm -m | grep -oiE '^zip$' \ - && 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$' \ - && php-fpm -m | grep -oiE '^sysvsem$' \ - && php -m | grep -oiE '^sysvshm$' \ - && php-fpm -m | grep -oiE '^sysvshm$' \ - && php -m | grep -oiE '^tidy$' \ - && php-fpm -m | grep -oiE '^tidy$' \ - && php -m | grep -oiE '^tokenizer$' \ - && php-fpm -m | grep -oiE '^tokenizer$' \ - && php -m | grep -oiE '^uploadprogress$' \ - && php-fpm -m | grep -oiE '^uploadprogress$' \ - && php -m | grep -oiE '^uuid$' \ - && php-fpm -m | grep -oiE '^uuid$' \ - && php -m | grep -oiE '^wddx$' \ - && php-fpm -m | grep -oiE '^wddx$' \ - && php -m | grep -oiE '^xdebug$' \ - && php-fpm -m | grep -oiE '^xdebug$' \ - && php -m | grep -oiE '^xmlreader$' \ - && php-fpm -m | grep -oiE '^xmlreader$' \ - && php -m | grep -oiE '^xmlrpc$' \ - && php-fpm -m | grep -oiE '^xmlrpc$' \ - && php -m | grep -oiE '^xmlwriter$' \ - && php-fpm -m | grep -oiE '^xmlwriter$' \ - && php -m | grep -oiE '^xsl$' \ - && php-fpm -m | grep -oiE '^xsl$' \ - && php -m | grep -oiE '^yaml$' \ - && php-fpm -m | grep -oiE '^yaml$' \ - && php -m | grep -oiE '^zlib$' \ - && php-fpm -m | grep -oiE '^zlib$' \ && true diff --git a/Dockerfiles/mods/Dockerfile-5.5 b/Dockerfiles/mods/Dockerfile-5.5 index d9a173b..9d82828 100644 --- a/Dockerfiles/mods/Dockerfile-5.5 +++ b/Dockerfiles/mods/Dockerfile-5.5 @@ -9,51 +9,6 @@ FROM devilbox/php-fpm:5.5-base as builder RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - alien \ - firebird-dev \ - freetds-dev \ - ghostscript \ - libaio-dev \ - libbz2-dev \ - libc-ares-dev \ - libc-client-dev \ - libcurl4-openssl-dev \ - libenchant-dev \ - libevent-dev \ - libfbclient2 \ - libfreetype6-dev \ - libgmp-dev \ - libib-util \ - libicu-dev \ - libjpeg-dev \ - libkrb5-dev \ - libldap2-dev \ - libmagickwand-dev \ - libmcrypt-dev \ - libmemcached-dev \ - libmysqlclient-dev \ - libnghttp2-dev \ - libpcre3-dev \ - libpng-dev \ - libpq-dev \ - libpspell-dev \ - librabbitmq-dev \ - librdkafka-dev \ - libsasl2-dev \ - libsnmp-dev \ - libssl-dev \ - libtidy-dev \ - libvpx-dev \ - libwebp-dev \ - libxml2-dev \ - libxpm-dev \ - libxslt-dev \ - libyaml-dev \ - libzip-dev \ - re2c \ - snmp \ - uuid-dev \ - zlib1g-dev \ # Build tools autoconf \ bison \ @@ -93,631 +48,6 @@ RUN set -eux \ echo "ffi.enable = 1" >> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install amqp-1.9.3 \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install apcu-4.0.11 \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Version specific pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libjpeg.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libpng.* /usr/lib/ && \ -ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ && \ -mkdir /usr/include/freetype2/freetype && \ -ln -s /usr/include/freetype2/freetype.h /usr/include/freetype2/freetype/freetype.h \ - \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary-2.0.8 \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install apcu-4.0.11 \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Version specific pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary-2.0.8 \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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-native-ttf \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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 \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && 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 \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: ffi -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) ffi \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure gd --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: blackfire -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Custom extension - && version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ -&& curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ -&& mkdir -p /tmp/blackfire \ -&& tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ -&& mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ -&& rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz \ - \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure gd --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*|g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure gd --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-avif \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.* /usr/local/include/php/Zend/Optimizer/zend_dfg.h \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ - && true - - -# -------------------- Installing PHP Extension: pcntl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ - && true - - -# -------------------- Installing PHP Extension: pdo_dblib -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ - && true - - -# -------------------- Installing PHP Extension: pdo_firebird -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ - && true - - -# -------------------- Installing PHP Extension: pdo_mysql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ - && true - - -# -------------------- Installing PHP Extension: pdo_oci -------------------- -RUN set -eux \ - # Generic pre-command - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -\ -&& rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& (ln -s /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_oci \ - && true - - -# -------------------- Installing PHP Extension: pdo_pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ - && true - - -# -------------------- Installing PHP Extension: pdo_sqlsrv -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install pdo_sqlsrv \ - # Enabling - && docker-php-ext-enable pdo_sqlsrv \ - && true - - -# -------------------- Installing PHP Extension: pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ - && true - - -# -------------------- Installing PHP Extension: psr -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install psr \ - # Enabling - && docker-php-ext-enable psr \ - && true - - -# -------------------- Installing PHP Extension: zstd -------------------- -RUN set -eux \ - # Installation: Generic - # Type: GIT extension - && git clone https://github.com/kjdev/php-ext-zstd /tmp/zstd \ - && cd /tmp/zstd \ - # Custom: Branch - && git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \ - # Default: Install command - && phpize \ - && ./configure --enable-zstd --with-libzstd \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - # Enabling - && docker-php-ext-enable zstd \ - && true - - -# -------------------- Installing PHP Extension: redis -------------------- -RUN set -eux \ - # Generic pre-command - && if [ -f /usr/include/liblzf/lzf.h ]; then \ - ln -s /usr/include/liblzf/lzf.h /usr/include/; \ -fi \ - \ - # Installation: Generic - # Type: GIT extension - && git clone https://github.com/phpredis/phpredis /tmp/redis \ - && cd /tmp/redis \ - # Custom: Branch - && git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \ - # Custom: Install command - && REDIS_ARGS=""; \ -if php -m | grep -q "igbinary"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ -fi; \ -if php -m | grep -q "lz4"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lz4 --with-liblz4=/usr"; \ -fi; \ -if php -m | grep -q "lzf"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lzf --with-liblzf=/usr"; \ -fi; \ -if php -m | grep -q "msgpack"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ -fi; \ -if php -m | grep -q "zstd"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-zstd"; \ -fi; \ -phpize \ -&& ./configure --enable-redis ${REDIS_ARGS} \ -&& make -j$(getconf _NPROCESSORS_ONLN) \ -&& make install \ - \ - # Enabling - && docker-php-ext-enable redis \ - && true - - -# -------------------- Installing PHP Extension: sqlsrv -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install sqlsrv \ - # Enabling - && docker-php-ext-enable sqlsrv \ - && true - - -# -------------------- Installing PHP Extension: phalcon -------------------- -RUN set -eux \ - # Installation: Generic - # Type: GIT extension - && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ - && cd /tmp/phalcon \ - # Custom: Branch - && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags \ - | sort -V \ - | sed 's/^.*tags\///g' \ - | grep -E '^v[.0-9]+$' \ - | tail -1 \ -) \ - \ - # Custom: Install command - && cd build && ./install \ - # Enabling - && docker-php-ext-enable phalcon \ - && true - - -# -------------------- Installing PHP Extension: pspell -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ - && true - - -# -------------------- Installing PHP Extension: rdkafka -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install rdkafka \ - # Enabling - && docker-php-ext-enable rdkafka \ - && true - - -# -------------------- Installing PHP Extension: shmop -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ - && true - - -# -------------------- Installing PHP Extension: snmp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure snmp --with-snmp \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ - && true - - -# -------------------- Installing PHP Extension: soap -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ - && true - - -# -------------------- Installing PHP Extension: sockets -------------------- -RUN set -eux \ - # Version specific pre-command - && docker-php-ext-configure sockets \ -&& sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ - \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ - && true - - -# -------------------- Installing PHP Extension: sodium -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sodium \ - && true - - -# -------------------- Installing PHP Extension: solr -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install solr \ - # Enabling - && docker-php-ext-enable solr \ - && true - - -# -------------------- Installing PHP Extension: zip -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure zip --with-zip \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ - && true - - -# -------------------- Installing PHP Extension: swoole -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes" with-postgres="yes"' swoole \ - # Enabling - && docker-php-ext-enable swoole \ - && true - - -# -------------------- Installing PHP Extension: sysvmsg -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ - && true - - -# -------------------- Installing PHP Extension: sysvsem -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ - && true - - -# -------------------- Installing PHP Extension: sysvshm -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ - && true - - -# -------------------- Installing PHP Extension: tidy -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ - && true - - -# -------------------- Installing PHP Extension: uploadprogress -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install uploadprogress \ - # Enabling - && docker-php-ext-enable uploadprogress \ - && true - - -# -------------------- Installing PHP Extension: uuid -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install uuid \ - # Enabling - && docker-php-ext-enable uuid \ - && true - - -# -------------------- Installing PHP Extension: vips -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install vips \ - # Enabling - && docker-php-ext-enable vips \ - && true - - -# -------------------- Installing PHP Extension: xdebug -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: GIT extension - && git clone https://github.com/xdebug/xdebug /tmp/xdebug \ - && cd /tmp/xdebug \ - # Custom: Branch - && git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \ - # Default: Install command - && phpize \ - && ./configure --enable-xdebug \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - # Enabling - && docker-php-ext-enable xdebug \ - && true - - -# -------------------- Installing PHP Extension: xlswriter -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install xlswriter \ - # Enabling - && docker-php-ext-enable xlswriter \ - && true - - -# -------------------- Installing PHP Extension: xsl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ - && true - - -# -------------------- Installing PHP Extension: yaml -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install yaml \ - # Enabling - && docker-php-ext-enable yaml \ - && true - - # Fix php.ini settings for enabled extensions @@ -881,42 +95,6 @@ LABEL "org.opencontainers.image.description"="PHP-FPM 8.1-mods" RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - ghostscript \ - libaio1 \ - libaspell15 \ - libavif9 \ - libc-ares2 \ - libc-client2007e \ - libenchant-2-2 \ - libevent-2.1-7 \ - libfbclient2 \ - libffi7 \ - libfreetype6 \ - libicu67 \ - libjpeg62-turbo \ - liblz4-1 \ - liblzf1 \ - libmagickwand-6.q16-6 \ - libmariadbd19 \ - libmemcachedutil2 \ - libnghttp2-14 \ - libpng16-16 \ - libpq5 \ - librabbitmq4 \ - librdkafka1 \ - libsybdb5 \ - libtidy5deb1 \ - libvips42 \ - libvpx6 \ - libwebp6 \ - libxpm4 \ - libxslt1.1 \ - libyaml-0-2 \ - libzip4 \ - libzstd1 \ - snmp \ - unixodbc \ - uuid \ ca-certificates \ && rm -rf /var/lib/apt/lists/* \ \ @@ -937,34 +115,6 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/ ### ### Post Install executions ### -RUN set -eux \ - # ---------- imagick ---------- - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*> /usr/local/etc/php/conf.d/docker-php-ext-ffi.ini; \ fi -# -------------------- Installing PHP Extension: amqp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Custom: Pecl command - && echo "/usr" | pecl install amqp \ - # Enabling - && docker-php-ext-enable amqp \ - && true - - -# -------------------- Installing PHP Extension: apcu -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install apcu \ - # Enabling - && docker-php-ext-enable apcu \ - && true - - -# -------------------- Installing PHP Extension: bcmath -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bcmath \ - && true - - -# -------------------- Installing PHP Extension: bz2 -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) bz2 \ - && true - - -# -------------------- Installing PHP Extension: calendar -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) calendar \ - && true - - -# -------------------- Installing PHP Extension: dba -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) dba \ - && true - - -# -------------------- Installing PHP Extension: enchant -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) enchant \ - && true - - -# -------------------- Installing PHP Extension: exif -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) exif \ - && true - - -# -------------------- Installing PHP Extension: gd -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libXpm.* /usr/lib/ \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure gd --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-avif \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gd \ - && true - - -# -------------------- Installing PHP Extension: gettext -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gettext \ - && true - - -# -------------------- Installing PHP Extension: gmp -------------------- -RUN set -eux \ - # Generic pre-command - && ln /usr/include/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/gmp.h /usr/include/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) gmp \ - && true - - -# -------------------- Installing PHP Extension: igbinary -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install igbinary \ - # Enabling - && docker-php-ext-enable igbinary \ - && true - - -# -------------------- Installing PHP Extension: imagick -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install imagick \ - # Enabling - && docker-php-ext-enable imagick \ - # Generic post-command - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.* /usr/local/include/php/Zend/Optimizer/zend_dfg.h \ - # Installation: Version specific - # Type: Built-in extension - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \ - && true - - -# -------------------- Installing PHP Extension: pcntl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pcntl \ - && true - - -# -------------------- Installing PHP Extension: pdo_dblib -------------------- -RUN set -eux \ - # Generic pre-command - && ln -s /usr/lib/$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)/libsybdb.* /usr/lib/ \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_dblib \ - && true - - -# -------------------- Installing PHP Extension: pdo_firebird -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_firebird \ - && true - - -# -------------------- Installing PHP Extension: pdo_mysql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure pdo_mysql --with-zlib-dir=/usr \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_mysql \ - && true - - -# -------------------- Installing PHP Extension: pdo_oci -------------------- -RUN set -eux \ - # Generic pre-command - && ARCH="$(dpkg-architecture --query DEB_HOST_GNU_CPU)" \ -&& ORACLE_HREF="$( \ - curl -sS https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/ \ - | tac \ - | tac \ - | grep -Eo 'href="getPackage/oracle-instantclient.+basiclite.+rpm"' \ - | tail -1 \ -)" \ -&& ORACLE_VERSION_MAJOR="$( echo "${ORACLE_HREF}" | grep -Eo 'instantclient[.0-9]+' | sed 's/instantclient//g' )" \ -&& ORACLE_VERSION_FULL="$( echo "${ORACLE_HREF}" | grep -Eo 'basiclite-[-.0-9]+' | sed -e 's/basiclite-//g' -e 's/\.$//g' )" \ -\ -&& rpm --import http://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& curl -sS -o /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -https://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/${ARCH}/getPackage/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& alien \ - -v \ - --target=$( dpkg --print-architecture ) \ - -i /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-basiclite-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& rm -f /tmp/oracle-instantclient${ORACLE_VERSION_MAJOR}-devel-${ORACLE_VERSION_FULL}.${ARCH}.rpm \ -&& (ln -s /usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/*.so* /usr/lib/ || true) \ - \ - # Installation: Version specific - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/usr/lib/oracle/${ORACLE_VERSION_MAJOR}/client64/lib/,${ORACLE_VERSION_MAJOR} \ - # Installation - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_oci \ - && true - - -# -------------------- Installing PHP Extension: pdo_pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pdo_pgsql \ - && true - - -# -------------------- Installing PHP Extension: pdo_sqlsrv -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install pdo_sqlsrv \ - # Enabling - && docker-php-ext-enable pdo_sqlsrv \ - && true - - -# -------------------- Installing PHP Extension: pgsql -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pgsql \ - && true - - -# -------------------- Installing PHP Extension: psr -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install psr \ - # Enabling - && docker-php-ext-enable psr \ - && true - - -# -------------------- Installing PHP Extension: zstd -------------------- -RUN set -eux \ - # Installation: Generic - # Type: GIT extension - && git clone https://github.com/kjdev/php-ext-zstd /tmp/zstd \ - && cd /tmp/zstd \ - # Custom: Branch - && git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \ - # Default: Install command - && phpize \ - && ./configure --enable-zstd --with-libzstd \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - # Enabling - && docker-php-ext-enable zstd \ - && true - - -# -------------------- Installing PHP Extension: redis -------------------- -RUN set -eux \ - # Generic pre-command - && if [ -f /usr/include/liblzf/lzf.h ]; then \ - ln -s /usr/include/liblzf/lzf.h /usr/include/; \ -fi \ - \ - # Installation: Generic - # Type: GIT extension - && git clone https://github.com/phpredis/phpredis /tmp/redis \ - && cd /tmp/redis \ - # Custom: Branch - && git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \ - # Custom: Install command - && REDIS_ARGS=""; \ -if php -m | grep -q "igbinary"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-igbinary"; \ -fi; \ -if php -m | grep -q "lz4"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lz4 --with-liblz4=/usr"; \ -fi; \ -if php -m | grep -q "lzf"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-lzf --with-liblzf=/usr"; \ -fi; \ -if php -m | grep -q "msgpack"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-msgpack"; \ -fi; \ -if php -m | grep -q "zstd"; then \ - REDIS_ARGS="${REDIS_ARGS} --enable-redis-zstd"; \ -fi; \ -phpize \ -&& ./configure --enable-redis ${REDIS_ARGS} \ -&& make -j$(getconf _NPROCESSORS_ONLN) \ -&& make install \ - \ - # Enabling - && docker-php-ext-enable redis \ - && true - - -# -------------------- Installing PHP Extension: sqlsrv -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install sqlsrv \ - # Enabling - && docker-php-ext-enable sqlsrv \ - && true - - -# -------------------- Installing PHP Extension: pspell -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ - && true - - -# -------------------- Installing PHP Extension: rdkafka -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install rdkafka \ - # Enabling - && docker-php-ext-enable rdkafka \ - && true - - -# -------------------- Installing PHP Extension: shmop -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) shmop \ - && true - - -# -------------------- Installing PHP Extension: snmp -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure snmp --with-snmp \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) snmp \ - && true - - -# -------------------- Installing PHP Extension: soap -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) soap \ - && true - - -# -------------------- Installing PHP Extension: sockets -------------------- -RUN set -eux \ - # Version specific pre-command - && docker-php-ext-configure sockets \ -&& sed -i'' 's/.*ucred.*//g' /usr/src/php/ext/sockets/sendrecvmsg.c \ - \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sockets \ - && true - - -# -------------------- Installing PHP Extension: sodium -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sodium \ - && true - - -# -------------------- Installing PHP Extension: zip -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - # Custom: configure command - && docker-php-ext-configure zip --with-zip \ - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) zip \ - && true - - -# -------------------- Installing PHP Extension: sysvmsg -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvmsg \ - && true - - -# -------------------- Installing PHP Extension: sysvsem -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvsem \ - && true - - -# -------------------- Installing PHP Extension: sysvshm -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) sysvshm \ - && true - - -# -------------------- Installing PHP Extension: tidy -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) tidy \ - && true - - -# -------------------- Installing PHP Extension: uploadprogress -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install uploadprogress \ - # Enabling - && docker-php-ext-enable uploadprogress \ - && true - - -# -------------------- Installing PHP Extension: uuid -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install uuid \ - # Enabling - && docker-php-ext-enable uuid \ - && true - - -# -------------------- Installing PHP Extension: xdebug -------------------- -RUN set -eux \ - # Installation: Version specific - # Type: GIT extension - && git clone https://github.com/xdebug/xdebug /tmp/xdebug \ - && cd /tmp/xdebug \ - # Custom: Branch - && git checkout 3.2.0RC2 \ - # Default: Install command - && phpize \ - && ./configure --enable-xdebug \ - && make -j$(getconf _NPROCESSORS_ONLN) \ - && make install \ - # Enabling - && docker-php-ext-enable xdebug \ - && true - - -# -------------------- Installing PHP Extension: xlswriter -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install xlswriter \ - # Enabling - && docker-php-ext-enable xlswriter \ - && true - - -# -------------------- Installing PHP Extension: xsl -------------------- -RUN set -eux \ - # Installation: Generic - # Type: Built-in extension - && docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \ - && true - - -# -------------------- Installing PHP Extension: yaml -------------------- -RUN set -eux \ - # Installation: Generic - # Type: PECL extension - # Default: Pecl command - && pecl install yaml \ - # Enabling - && docker-php-ext-enable yaml \ - && true - - # Fix php.ini settings for enabled extensions @@ -833,39 +95,6 @@ LABEL "org.opencontainers.image.description"="PHP-FPM 8.2-mods" RUN set -eux \ && DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \ - ghostscript \ - libaio1 \ - libaspell15 \ - libavif9 \ - libc-client2007e \ - libenchant-2-2 \ - libevent-2.1-7 \ - libfbclient2 \ - libffi7 \ - libfreetype6 \ - libicu67 \ - libjpeg62-turbo \ - liblz4-1 \ - liblzf1 \ - libmagickwand-6.q16-6 \ - libmariadbd19 \ - libmemcachedutil2 \ - libpng16-16 \ - libpq5 \ - librabbitmq4 \ - librdkafka1 \ - libsybdb5 \ - libtidy5deb1 \ - libvpx6 \ - libwebp6 \ - libxpm4 \ - libxslt1.1 \ - libyaml-0-2 \ - libzip4 \ - libzstd1 \ - snmp \ - unixodbc \ - uuid \ ca-certificates \ && rm -rf /var/lib/apt/lists/* \ \ @@ -886,34 +115,6 @@ COPY --from=builder /usr/lib/oracle/ /usr/lib/oracle/ ### ### Post Install executions ### -RUN set -eux \ - # ---------- imagick ---------- - && sed -i'' 's|.*"thread".*| |g' /etc/ImageMagick-6/policy.xml \ -&& sed -i'' 's|.*