We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65c24a3 commit 0f2266dCopy full SHA for 0f2266d
1 file changed
php/Dockerfile
@@ -10,7 +10,7 @@ RUN Invoke-WebRequest 'https://download.microsoft.com/download/9/3/F/93FCF1E7-E6
10
Remove-Item vc_redist.x64.exe;
11
12
# Install PHP
13
-RUN $download_page = Invoke-WebRequest -Uri 'http://windows.php.net/download'; \
+RUN $download_page = Invoke-WebRequest -UseBasicParsing -Uri 'http://windows.php.net/download'; \
14
$re = 'php-\d.+-nts.+x64\.zip$'; \
15
$url = $download_page.links | ? href -match $re | % href | select -First 1; \
16
$filename = $url.Substring(20); \
0 commit comments