@@ -99,21 +99,6 @@ COPY docker-php-source /usr/local/bin/
9999RUN set -eux; \
100100 \
101101 savedAptMark="$(apt-mark showmanual)"; \
102- {{
103- # stretch needs to pull argon2 from buster
104- if env.suite == "stretch" then (
105- -}}
106- sed -e 's/stretch/buster/g' /etc/apt/sources.list > /etc/apt/sources.list.d/buster.list; \
107- { \
108- echo 'Package: *'; \
109- echo 'Pin: release n=buster*'; \
110- echo 'Pin-Priority: -10'; \
111- echo; \
112- echo 'Package: libargon2*'; \
113- echo 'Pin: release n=buster*'; \
114- echo 'Pin-Priority: 990'; \
115- } > /etc/apt/preferences.d/argon2-buster; \
116- {{ ) else "" end -}}
117102 apt-get update; \
118103 apt-get install -y --no-install-recommends \
119104 libargon2-dev \
@@ -190,7 +175,7 @@ RUN set -eux; \
190175 \
191176{{ ) else "" end -}}
192177# bundled pcre does not support JIT on s390x
193- # https://manpages.debian.org/stretch /libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
178+ # https://manpages.debian.org/bullseye /libpcre3-dev/pcrejit.3.en.html#AVAILABILITY_OF_JIT_SUPPORT
194179 $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') \
195180 --with-libdir="lib/$debMultiarch" \
196181 \
@@ -240,7 +225,7 @@ RUN docker-php-ext-enable sodium
240225 # https://bugs.php.net/bug.php?id=76324
241226 # https://github.com/php/php-src/pull/3632
242227 # https://github.com/php/php-src/commit/2d03197749696ac3f8effba6b7977b0d8729fef3
243- if env.suite != "stretch" and (.version | version_id) < ("7.4" | version_id) then (
228+ if (.version | version_id) < ("7.4" | version_id) then (
244229-}}
245230# temporary "freetype-config" workaround for https://github.com/docker-library/php/issues/865 (https://bugs.php.net/bug.php?id=76324)
246231RUN { echo '#!/bin/sh'; echo 'exec pkg-config "$@" freetype2'; } > /usr/local/bin/freetype-config && chmod +x /usr/local/bin/freetype-config
0 commit comments