Skip to content

Commit f00fd42

Browse files
machado2fmolinx
andauthored
Updated apache-windows image (#457)
Co-authored-by: Fábio Machado de Oliveira <[email protected]>
1 parent da9cbda commit f00fd42

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

apache/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# escape=`
2-
FROM mcr.microsoft.com/windows/servercore:ltsc2016 as download
2+
FROM mcr.microsoft.com/windows/servercore:ltsc2019 as download
33

44
SHELL ["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

1212
RUN 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 '.\vc_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

1818
COPY --from=download C:\Apache24 C:\Apache24
1919
COPY --from=download C:\windows\system32\msvcp140.dll C:\windows\system32
2020
COPY --from=download C:\windows\system32\vcruntime140.dll C:\windows\system32
2121

2222
EXPOSE 80
2323

24-
CMD [ "C:\\Apache24\\bin\\httpd.exe" ]
24+
CMD [ "C:\\Apache24\\bin\\httpd.exe" ]

0 commit comments

Comments
 (0)