Merge pull request #151 from microsoft/user/mbrown555/1903

changes for 1903
This commit is contained in:
mbrown555 2019-05-21 18:31:24 -07:00 коммит произвёл GitHub
Родитель 6ab1c5eb69 814772fcc4
Коммит f825c951fa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 11 добавлений и 31 удалений

Просмотреть файл

@ -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; `