Merge pull request #151 from microsoft/user/mbrown555/1903
changes for 1903
This commit is contained in:
Коммит
f825c951fa
14
README.md
14
README.md
|
@ -1,6 +1,12 @@
|
||||||
![IIS Docker Image](https://avatars2.githubusercontent.com/u/6154722?v=3&s=200)
|
![IIS Docker Image](https://avatars2.githubusercontent.com/u/6154722?v=3&s=200)
|
||||||
# IIS Docker Image
|
# IIS Docker Image
|
||||||
|
|
||||||
|
# Supported Windows Server, version 1903 amd64 tags
|
||||||
|
|
||||||
|
`docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-1903`
|
||||||
|
|
||||||
|
[`windowsservercore-1903, latest` (*windowsserver/Dockerfile*)](https://github.com/Microsoft/iis-docker/blob/master/windowsservercore-1903/Dockerfile)
|
||||||
|
|
||||||
# Supported Windows Server 2019 amd64 tags
|
# Supported Windows Server 2019 amd64 tags
|
||||||
|
|
||||||
`docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019`
|
`docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019`
|
||||||
|
@ -13,20 +19,12 @@
|
||||||
|
|
||||||
[`windowsservercore-1803, latest` (*windowsserver/Dockerfile*)](https://github.com/Microsoft/iis-docker/blob/master/windowsservercore-1803/Dockerfile)
|
[`windowsservercore-1803, latest` (*windowsserver/Dockerfile*)](https://github.com/Microsoft/iis-docker/blob/master/windowsservercore-1803/Dockerfile)
|
||||||
|
|
||||||
# Supported Windows Server, version 1709 amd64 tags
|
|
||||||
|
|
||||||
`docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-1709`
|
|
||||||
|
|
||||||
[`windowsservercore-1709, latest` (*windowsserver/Dockerfile*)](https://github.com/Microsoft/iis-docker/blob/master/windowsservercore-1709/Dockerfile)
|
|
||||||
|
|
||||||
# Supported Windows Server 2016 amd64 tags
|
# Supported Windows Server 2016 amd64 tags
|
||||||
|
|
||||||
`docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2016`
|
`docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2016`
|
||||||
|
|
||||||
[`windowsservercore-ltsc2016, latest` (*windowsserver/Dockerfile*)](https://github.com/Microsoft/iis-docker/blob/master/windowsservercore-ltsc2016/Dockerfile)
|
[`windowsservercore-ltsc2016, latest` (*windowsserver/Dockerfile*)](https://github.com/Microsoft/iis-docker/blob/master/windowsservercore-ltsc2016/Dockerfile)
|
||||||
|
|
||||||
`docker pull mcr.microsoft.com/windows/servercore/iis:nanoserver-sac2016`
|
|
||||||
|
|
||||||
## What is IIS?
|
## What is IIS?
|
||||||
Internet Information Services (IIS) for Windows® Server is a flexible, secure and manageable Web server for hosting anything on the Web.
|
Internet Information Services (IIS) for Windows® Server is a flexible, secure and manageable Web server for hosting anything on the Web.
|
||||||
|
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
# escape=`
|
|
||||||
FROM microsoft/nanoserver:sac2016
|
|
||||||
|
|
||||||
RUN powershell -NoProfile -Command `
|
|
||||||
New-Item -Type Directory C:\install; `
|
|
||||||
Invoke-WebRequest https://az880830.vo.msecnd.net/nanoserver-ga-2016/Microsoft-NanoServer-IIS-Package_base_10-0-14393-0.cab -OutFile C:\install\Microsoft-NanoServer-IIS-Package_base_10-0-14393-0.cab; `
|
|
||||||
Invoke-WebRequest https://az880830.vo.msecnd.net/nanoserver-ga-2016/Microsoft-NanoServer-IIS-Package_English_10-0-14393-0.cab -OutFile C:\install\Microsoft-NanoServer-IIS-Package_English_10-0-14393-0.cab; `
|
|
||||||
dism.exe /online /add-package /packagepath:c:\install\Microsoft-NanoServer-IIS-Package_base_10-0-14393-0.cab & `
|
|
||||||
dism.exe /online /add-package /packagepath:c:\install\Microsoft-NanoServer-IIS-Package_English_10-0-14393-0.cab & `
|
|
||||||
dism.exe /online /add-package /packagepath:c:\install\Microsoft-NanoServer-IIS-Package_base_10-0-14393-0.cab & ;`
|
|
||||||
powershell -NoProfile -Command `
|
|
||||||
Remove-Item -Recurse C:\install\ ; `
|
|
||||||
Invoke-WebRequest https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.6/ServiceMonitor.exe -OutFile C:\ServiceMonitor.exe; `
|
|
||||||
Start-Service Was; `
|
|
||||||
While ((Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\WAS\Parameters\ -Name NanoSetup -ErrorAction Ignore) -ne $null) {Start-Sleep 1}
|
|
||||||
|
|
||||||
EXPOSE 80
|
|
||||||
|
|
||||||
ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc"]
|
|
|
@ -1,5 +1,5 @@
|
||||||
# escape=`
|
# escape=`
|
||||||
FROM microsoft/windowsservercore:1803
|
FROM mcr.microsoft.com/windows/servercore:1803
|
||||||
|
|
||||||
RUN powershell -Command `
|
RUN powershell -Command `
|
||||||
Add-WindowsFeature Web-Server; `
|
Add-WindowsFeature Web-Server; `
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# escape=`
|
# escape=`
|
||||||
FROM microsoft/windowsservercore:1709
|
FROM mcr.microsoft.com/windows/servercore:1903
|
||||||
|
|
||||||
RUN powershell -Command `
|
RUN powershell -Command `
|
||||||
Add-WindowsFeature Web-Server; `
|
Add-WindowsFeature Web-Server; `
|
|
@ -1,5 +1,6 @@
|
||||||
# escape=`
|
# escape=`
|
||||||
FROM microsoft/windowsservercore-insider:latest
|
FROM mcr.microsoft.com/windows/insider:10.0.18362.113
|
||||||
|
|
||||||
|
|
||||||
RUN powershell -Command `
|
RUN powershell -Command `
|
||||||
Add-WindowsFeature Web-Server; `
|
Add-WindowsFeature Web-Server; `
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# escape=`
|
# escape=`
|
||||||
FROM microsoft/windowsservercore:ltsc2016
|
FROM mcr.microsoft.com/windows/servercore:ltsc2016
|
||||||
|
|
||||||
RUN powershell -Command `
|
RUN powershell -Command `
|
||||||
Add-WindowsFeature Web-Server; `
|
Add-WindowsFeature Web-Server; `
|
||||||
|
|
Загрузка…
Ссылка в новой задаче