File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# escape=`
2- FROM mcr.microsoft.com/windows/servercore:ltsc2016 as download
2+ FROM mcr.microsoft.com/windows/servercore:ltsc2019 as download
33
44SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
55
6- ENV APACHE_VERSION 2.4.29
6+ ENV APACHE_VERSION 2.4.48
77
8- RUN Invoke-WebRequest ('http://de.apachehaus.com/downloads/httpd-{0}-o102n -x64-vc14-r2 .zip' -f $env:APACHE_VERSION) -OutFile 'apache.zip' -UseBasicParsing ; `
8+ RUN Invoke-WebRequest ('http://de.apachehaus.com/downloads/httpd-{0}-o111l -x64-vc15 .zip' -f $env:APACHE_VERSION) -OutFile 'apache.zip' -UseBasicParsing ; `
99 Expand-Archive apache.zip -DestinationPath C:\ ; `
1010 Remove-Item -Path apache.zip
1111
1212RUN Invoke-WebRequest 'https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe' -OutFile 'vc_redist.x64.exe' ; `
1313 Start-Process '.\v c_redist.x64.exe' '/install /passive /norestart' -Wait; `
1414 Remove-Item vc_redist.x64.exe;
1515
16- FROM mcr.microsoft.com/windows/servercore:ltsc2016
16+ FROM mcr.microsoft.com/windows/servercore:ltsc2019
1717
1818COPY --from=download C:\A pache24 C:\A pache24
1919COPY --from=download C:\w indows\s ystem32\m svcp140.dll C:\w indows\s ystem32
2020COPY --from=download C:\w indows\s ystem32\v cruntime140.dll C:\w indows\s ystem32
2121
2222EXPOSE 80
2323
24- CMD [ "C:\\ Apache24\\ bin\\ httpd.exe" ]
24+ CMD [ "C:\\ Apache24\\ bin\\ httpd.exe" ]
You can’t perform that action at this time.
0 commit comments