Skip to content

Commit ea65282

Browse files
Merge pull request #1530 from jnoordsij/remove-8.4.0alpha1-changes
Remove patch workaround for 8.4.0alpha1
2 parents f221d97 + c261a5e commit ea65282

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

Dockerfile-linux.template

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -203,18 +203,10 @@ RUN set -eux; \
203203
\
204204
{{ if is_alpine then ( -}}
205205
apk add --no-cache --virtual .fetch-deps gnupg; \
206-
{{ if .version == "8.4.0alpha1" then ( -}}
207-
# Add patchutils; see https://github.com/docker-library/php/pull/1526
208-
apk add --no-cache --virtual .patch-deps patchutils; \
209-
{{ ) else "" end -}}
210206
{{ ) else ( -}}
211207
savedAptMark="$(apt-mark showmanual)"; \
212208
apt-get update; \
213209
apt-get install -y --no-install-recommends gnupg; \
214-
{{ if .version == "8.4.0alpha1" then ( -}}
215-
# Add patchutils; see https://github.com/docker-library/php/pull/1526
216-
apt-get install -y --no-install-recommends patchutils; \
217-
{{ ) else "" end -}}
218210
rm -rf /var/lib/apt/lists/*; \
219211
{{ ) end -}}
220212
\
@@ -237,19 +229,8 @@ RUN set -eux; \
237229
gpgconf --kill all; \
238230
rm -rf "$GNUPGHOME"; \
239231
fi; \
240-
{{ if .version == "8.4.0alpha1" then ( -}}
241-
\
242-
# Add patch; see https://github.com/docker-library/php/pull/1526
243-
curl -fsSL -o php-pdo.patch 'https://github.com/php/php-src/pull/14797.patch?full_index=1'; \
244-
echo '3a95762048a56ec0f59cb9ee18df49751ffb0bdd0e91e021b57f69ac7af62996 *php-pdo.patch' | sha256sum -c -; \
245-
filterdiff -p1 -x 'NEWS' < php-pdo.patch > php-pdo.patch.filtered; \
246-
mv php-pdo.patch.filtered php-pdo.patch; \
247-
{{ ) else "" end -}}
248232
\
249233
{{ if is_alpine then ( -}}
250-
{{ if .version == "8.4.0alpha1" then ( -}}
251-
apk del --no-network .patch-deps; \
252-
{{ ) else "" end -}}
253234
apk del --no-network .fetch-deps
254235
{{ ) else ( -}}
255236
apt-mark auto '.*' > /dev/null; \
@@ -280,7 +261,6 @@ RUN set -eux; \
280261
"libsodium-dev",
281262
"libxml2-dev",
282263
"openssl-dev",
283-
if .version == "8.4.0alpha1" then "patch" else empty end,
284264
"readline-dev",
285265
"sqlite-dev",
286266
# https://github.com/docker-library/php/issues/888
@@ -324,11 +304,6 @@ RUN set -eux; \
324304
; \
325305
docker-php-source extract; \
326306
cd /usr/src/php; \
327-
{{ if .version == "8.4.0alpha1" then ( -}}
328-
# Apply patch; see https://github.com/docker-library/php/pull/1526
329-
patch -p1 < ../php-pdo.patch; \
330-
./buildconf -f; \
331-
{{ ) else "" end -}}
332307
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
333308
{{ if is_alpine then "" else ( -}}
334309
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \

0 commit comments

Comments
 (0)