diff --git a/5.6/alpine3.4/cli/Dockerfile b/5.6/alpine3.4/cli/Dockerfile index 18a6703143..64a96eddfe 100644 --- a/5.6/alpine3.4/cli/Dockerfile +++ b/5.6/alpine3.4/cli/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -124,9 +123,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/5.6/alpine3.4/fpm/Dockerfile b/5.6/alpine3.4/fpm/Dockerfile index e77620c27e..ea5233fa62 100644 --- a/5.6/alpine3.4/fpm/Dockerfile +++ b/5.6/alpine3.4/fpm/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/5.6/alpine3.4/zts/Dockerfile b/5.6/alpine3.4/zts/Dockerfile index ec9785d28d..9ae70d3e91 100644 --- a/5.6/alpine3.4/zts/Dockerfile +++ b/5.6/alpine3.4/zts/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/5.6/jessie/apache/Dockerfile b/5.6/jessie/apache/Dockerfile index 7afa151e0b..2ab6eb1eb3 100644 --- a/5.6/jessie/apache/Dockerfile +++ b/5.6/jessie/apache/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -192,9 +191,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/5.6/jessie/cli/Dockerfile b/5.6/jessie/cli/Dockerfile index 5d4f2ca7f5..ef9f91d551 100644 --- a/5.6/jessie/cli/Dockerfile +++ b/5.6/jessie/cli/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -133,9 +132,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/5.6/jessie/fpm/Dockerfile b/5.6/jessie/fpm/Dockerfile index 383c212026..316cb741b3 100644 --- a/5.6/jessie/fpm/Dockerfile +++ b/5.6/jessie/fpm/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -134,9 +133,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/5.6/jessie/zts/Dockerfile b/5.6/jessie/zts/Dockerfile index 87dcd6792c..318631d2ed 100644 --- a/5.6/jessie/zts/Dockerfile +++ b/5.6/jessie/zts/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -134,9 +133,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.0/alpine3.4/cli/Dockerfile b/7.0/alpine3.4/cli/Dockerfile index d7400843db..48dd06dc32 100644 --- a/7.0/alpine3.4/cli/Dockerfile +++ b/7.0/alpine3.4/cli/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -124,9 +123,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.0/alpine3.4/fpm/Dockerfile b/7.0/alpine3.4/fpm/Dockerfile index efa374ac81..c6edff8bd7 100644 --- a/7.0/alpine3.4/fpm/Dockerfile +++ b/7.0/alpine3.4/fpm/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.0/alpine3.4/zts/Dockerfile b/7.0/alpine3.4/zts/Dockerfile index 06d8b7c3cb..7cc081a71a 100644 --- a/7.0/alpine3.4/zts/Dockerfile +++ b/7.0/alpine3.4/zts/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.0/jessie/apache/Dockerfile b/7.0/jessie/apache/Dockerfile index d8bfe51bcf..8da359c324 100644 --- a/7.0/jessie/apache/Dockerfile +++ b/7.0/jessie/apache/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -192,9 +191,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.0/jessie/cli/Dockerfile b/7.0/jessie/cli/Dockerfile index 1e249bc4e0..e0a094ea31 100644 --- a/7.0/jessie/cli/Dockerfile +++ b/7.0/jessie/cli/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -133,9 +132,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.0/jessie/fpm/Dockerfile b/7.0/jessie/fpm/Dockerfile index 886e25ba1f..d99d58b130 100644 --- a/7.0/jessie/fpm/Dockerfile +++ b/7.0/jessie/fpm/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -134,9 +133,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.0/jessie/zts/Dockerfile b/7.0/jessie/zts/Dockerfile index 6e7cf92426..ad59bb69f7 100644 --- a/7.0/jessie/zts/Dockerfile +++ b/7.0/jessie/zts/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -134,9 +133,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.1/alpine3.4/cli/Dockerfile b/7.1/alpine3.4/cli/Dockerfile index 31c25226b0..0e64b118b9 100644 --- a/7.1/alpine3.4/cli/Dockerfile +++ b/7.1/alpine3.4/cli/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -124,9 +123,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.1/alpine3.4/fpm/Dockerfile b/7.1/alpine3.4/fpm/Dockerfile index dea6fddaea..c508afa9c5 100644 --- a/7.1/alpine3.4/fpm/Dockerfile +++ b/7.1/alpine3.4/fpm/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.1/alpine3.4/zts/Dockerfile b/7.1/alpine3.4/zts/Dockerfile index c70228a5c8..9a1cc8783b 100644 --- a/7.1/alpine3.4/zts/Dockerfile +++ b/7.1/alpine3.4/zts/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.1/jessie/apache/Dockerfile b/7.1/jessie/apache/Dockerfile index b8cd3801f7..f25d0fe76c 100644 --- a/7.1/jessie/apache/Dockerfile +++ b/7.1/jessie/apache/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -192,9 +191,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.1/jessie/cli/Dockerfile b/7.1/jessie/cli/Dockerfile index a28cd0fdd2..b9e67bd5db 100644 --- a/7.1/jessie/cli/Dockerfile +++ b/7.1/jessie/cli/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -133,9 +132,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.1/jessie/fpm/Dockerfile b/7.1/jessie/fpm/Dockerfile index b272f336a7..efe9178499 100644 --- a/7.1/jessie/fpm/Dockerfile +++ b/7.1/jessie/fpm/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -134,9 +133,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.1/jessie/zts/Dockerfile b/7.1/jessie/zts/Dockerfile index 6b8564c878..c0d149146a 100644 --- a/7.1/jessie/zts/Dockerfile +++ b/7.1/jessie/zts/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -134,9 +133,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.2-rc/alpine3.6/cli/Dockerfile b/7.2-rc/alpine3.6/cli/Dockerfile index e201609153..8e1fb21f92 100644 --- a/7.2-rc/alpine3.6/cli/Dockerfile +++ b/7.2-rc/alpine3.6/cli/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -124,9 +123,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.2-rc/alpine3.6/fpm/Dockerfile b/7.2-rc/alpine3.6/fpm/Dockerfile index 203285c40c..6f167d8bb1 100644 --- a/7.2-rc/alpine3.6/fpm/Dockerfile +++ b/7.2-rc/alpine3.6/fpm/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.2-rc/alpine3.6/zts/Dockerfile b/7.2-rc/alpine3.6/zts/Dockerfile index 4eb1151554..44544bd9cb 100644 --- a/7.2-rc/alpine3.6/zts/Dockerfile +++ b/7.2-rc/alpine3.6/zts/Dockerfile @@ -15,7 +15,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -125,9 +124,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/7.2-rc/stretch/apache/Dockerfile b/7.2-rc/stretch/apache/Dockerfile index d3ef5ba7cd..be73da0c36 100644 --- a/7.2-rc/stretch/apache/Dockerfile +++ b/7.2-rc/stretch/apache/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -196,9 +195,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.2-rc/stretch/cli/Dockerfile b/7.2-rc/stretch/cli/Dockerfile index e1003dd280..076d8c37e1 100644 --- a/7.2-rc/stretch/cli/Dockerfile +++ b/7.2-rc/stretch/cli/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -137,9 +136,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.2-rc/stretch/fpm/Dockerfile b/7.2-rc/stretch/fpm/Dockerfile index 14f172a5f1..2fe0d059eb 100644 --- a/7.2-rc/stretch/fpm/Dockerfile +++ b/7.2-rc/stretch/fpm/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -138,9 +137,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/7.2-rc/stretch/zts/Dockerfile b/7.2-rc/stretch/zts/Dockerfile index 9ca7386daa..d7c9bf96eb 100644 --- a/7.2-rc/stretch/zts/Dockerfile +++ b/7.2-rc/stretch/zts/Dockerfile @@ -14,7 +14,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -138,9 +137,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 63b2a3cec7..b6307adffd 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -9,7 +9,6 @@ ENV PHPIZE_DEPS \ gcc \ libc-dev \ make \ - pcre-dev \ pkgconf \ re2c RUN apk add --no-cache --virtual .persistent-deps \ @@ -118,9 +117,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ \ $PHP_EXTRA_CONFIGURE_ARGS \ && make -j "$(nproc)" \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 94fbba0da5..86ddbd07cd 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -8,7 +8,6 @@ ENV PHPIZE_DEPS \ g++ \ gcc \ libc-dev \ - libpcre3-dev \ make \ pkg-config \ re2c @@ -131,9 +130,9 @@ RUN set -xe \ --with-openssl \ --with-zlib \ \ -# bundled pcre is too old for s390x (which isn't exactly a good sign) -# /usr/src/php/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture - --with-pcre-regex=/usr \ +# bundled pcre does not support JIT on s390x +# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT + $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \ --with-libdir="lib/$debMultiarch" \ \ $PHP_EXTRA_CONFIGURE_ARGS \