Skip to content

Commit eaa29e4

Browse files
authored
Merge pull request #851 from infosiftr/with-pear
Add "--with-pear" in 7.4
2 parents 04e67dc + e2331f5 commit eaa29e4

File tree

13 files changed

+89
-7
lines changed

13 files changed

+89
-7
lines changed

7.4-rc/alpine3.10/cli/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ RUN set -eux; \
144144
--with-openssl \
145145
--with-zlib \
146146
\
147+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
148+
--with-pear \
149+
\
147150
# bundled pcre does not support JIT on s390x
148151
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
149152
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -172,6 +175,9 @@ RUN set -eux; \
172175
\
173176
apk del --no-network .build-deps; \
174177
\
178+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
179+
pecl update-channels; \
180+
rm -rf /tmp/pear ~/.pearrc; \
175181
# smoke test
176182
php --version
177183

7.4-rc/alpine3.10/fpm/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ RUN set -eux; \
145145
--with-openssl \
146146
--with-zlib \
147147
\
148+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
149+
--with-pear \
150+
\
148151
# bundled pcre does not support JIT on s390x
149152
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
150153
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -173,6 +176,9 @@ RUN set -eux; \
173176
\
174177
apk del --no-network .build-deps; \
175178
\
179+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
180+
pecl update-channels; \
181+
rm -rf /tmp/pear ~/.pearrc; \
176182
# smoke test
177183
php --version
178184

7.4-rc/alpine3.10/zts/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ RUN set -eux; \
145145
--with-openssl \
146146
--with-zlib \
147147
\
148+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
149+
--with-pear \
150+
\
148151
# bundled pcre does not support JIT on s390x
149152
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
150153
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -173,6 +176,9 @@ RUN set -eux; \
173176
\
174177
apk del --no-network .build-deps; \
175178
\
179+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
180+
pecl update-channels; \
181+
rm -rf /tmp/pear ~/.pearrc; \
176182
# smoke test
177183
php --version
178184

7.4-rc/alpine3.9/cli/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ RUN set -eux; \
144144
--with-openssl \
145145
--with-zlib \
146146
\
147+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
148+
--with-pear \
149+
\
147150
# bundled pcre does not support JIT on s390x
148151
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
149152
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -172,6 +175,9 @@ RUN set -eux; \
172175
\
173176
apk del --no-network .build-deps; \
174177
\
178+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
179+
pecl update-channels; \
180+
rm -rf /tmp/pear ~/.pearrc; \
175181
# smoke test
176182
php --version
177183

7.4-rc/alpine3.9/fpm/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ RUN set -eux; \
145145
--with-openssl \
146146
--with-zlib \
147147
\
148+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
149+
--with-pear \
150+
\
148151
# bundled pcre does not support JIT on s390x
149152
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
150153
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -173,6 +176,9 @@ RUN set -eux; \
173176
\
174177
apk del --no-network .build-deps; \
175178
\
179+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
180+
pecl update-channels; \
181+
rm -rf /tmp/pear ~/.pearrc; \
176182
# smoke test
177183
php --version
178184

7.4-rc/alpine3.9/zts/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ RUN set -eux; \
145145
--with-openssl \
146146
--with-zlib \
147147
\
148+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
149+
--with-pear \
150+
\
148151
# bundled pcre does not support JIT on s390x
149152
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
150153
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -173,6 +176,9 @@ RUN set -eux; \
173176
\
174177
apk del --no-network .build-deps; \
175178
\
179+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
180+
pecl update-channels; \
181+
rm -rf /tmp/pear ~/.pearrc; \
176182
# smoke test
177183
php --version
178184

7.4-rc/stretch/apache/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ RUN set -eux; \
234234
--with-openssl \
235235
--with-zlib \
236236
\
237+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
238+
--with-pear \
239+
\
237240
# bundled pcre does not support JIT on s390x
238241
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
239242
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -266,6 +269,9 @@ RUN set -eux; \
266269
; \
267270
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
268271
\
272+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
273+
pecl update-channels; \
274+
rm -rf /tmp/pear ~/.pearrc; \
269275
# smoke test
270276
php --version
271277

7.4-rc/stretch/cli/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ RUN set -eux; \
174174
--with-openssl \
175175
--with-zlib \
176176
\
177+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
178+
--with-pear \
179+
\
177180
# bundled pcre does not support JIT on s390x
178181
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
179182
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -206,6 +209,9 @@ RUN set -eux; \
206209
; \
207210
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
208211
\
212+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
213+
pecl update-channels; \
214+
rm -rf /tmp/pear ~/.pearrc; \
209215
# smoke test
210216
php --version
211217

7.4-rc/stretch/fpm/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ RUN set -eux; \
175175
--with-openssl \
176176
--with-zlib \
177177
\
178+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
179+
--with-pear \
180+
\
178181
# bundled pcre does not support JIT on s390x
179182
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
180183
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -207,6 +210,9 @@ RUN set -eux; \
207210
; \
208211
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
209212
\
213+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
214+
pecl update-channels; \
215+
rm -rf /tmp/pear ~/.pearrc; \
210216
# smoke test
211217
php --version
212218

7.4-rc/stretch/zts/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ RUN set -eux; \
175175
--with-openssl \
176176
--with-zlib \
177177
\
178+
# in PHP 7.4+, the pecl/pear installers are officially deprecated (requiring an explicit "--with-pear") and will be removed in PHP 8+; see also https://github.com/docker-library/php/issues/846#issuecomment-505638494
179+
--with-pear \
180+
\
178181
# bundled pcre does not support JIT on s390x
179182
# https://manpages.debian.org/stretch/libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
180183
$(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
@@ -207,6 +210,9 @@ RUN set -eux; \
207210
; \
208211
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
209212
\
213+
# update pecl channel definitions https://github.com/docker-library/php/issues/443
214+
pecl update-channels; \
215+
rm -rf /tmp/pear ~/.pearrc; \
210216
# smoke test
211217
php --version
212218

0 commit comments

Comments
 (0)