test images: Fixes Windows php source

The PHP release page tends to get updated and changed every time there's a
new release, removing the old ones. Because of this, the PHP link in the
httpd and httpd-new images may become invalid.

Updating the links to the archives solves this issue.
This commit is contained in:
Claudiu Belu 2021-02-06 11:32:21 +00:00
parent 96a98e50af
commit 6dae3054b5
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ ARG REGISTRY
FROM --platform=linux/amd64 alpine:3.6 as prep FROM --platform=linux/amd64 alpine:3.6 as prep
ADD https://home.apache.org/~steffenal/VC15/binaries/httpd-2.4.46-win64-VC15.zip /httpd.zip ADD https://home.apache.org/~steffenal/VC15/binaries/httpd-2.4.46-win64-VC15.zip /httpd.zip
ADD https://windows.php.net/downloads/releases/php-7.4.14-Win32-vc15-x64.zip /php.zip ADD https://windows.php.net/downloads/releases/archives/php-7.4.14-Win32-vc15-x86.zip /php.zip
RUN unzip /httpd.zip &&\ RUN unzip /httpd.zip &&\
mv ReadMe.txt /Apache24/DistributionReadMe.txt &&\ mv ReadMe.txt /Apache24/DistributionReadMe.txt &&\

View File

@ -19,7 +19,7 @@ ARG REGISTRY
FROM --platform=linux/amd64 alpine:3.6 as prep FROM --platform=linux/amd64 alpine:3.6 as prep
ADD https://home.apache.org/~steffenal/VC14/binaries/httpd-2.4.41-win64-VC14.zip /httpd.zip ADD https://home.apache.org/~steffenal/VC14/binaries/httpd-2.4.41-win64-VC14.zip /httpd.zip
ADD https://windows.php.net/downloads/releases/php-7.4.14-Win32-vc15-x64.zip /php.zip ADD https://windows.php.net/downloads/releases/archives/php-7.4.14-Win32-vc15-x86.zip /php.zip
RUN unzip /httpd.zip &&\ RUN unzip /httpd.zip &&\
mv ReadMe.txt /Apache24/DistributionReadMe.txt &&\ mv ReadMe.txt /Apache24/DistributionReadMe.txt &&\