Родитель
6b30bdd36f
Коммит
49beb11e4d
|
@ -0,0 +1,12 @@
|
|||
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019
|
||||
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
# Install Windows components required for WCF service hosted on IIS
|
||||
RUN Add-WindowsFeature NET-WCF-TCP-Activation45; \
|
||||
Add-WindowsFeature NET-WCF-HTTP-Activation45; \
|
||||
Add-WindowsFeature Web-WebSockets
|
||||
|
||||
# Enable net.tcp protocol for default web site on IIS
|
||||
RUN windows\system32\inetsrv\appcmd.exe set app 'Default Web Site/' /enabledProtocols:"http,net.tcp"
|
||||
EXPOSE 808
|
|
@ -1,3 +1,7 @@
|
|||
# Supported Windows Server 2019 amd64 tags
|
||||
|
||||
* 4.7.2-windowsservercore-ltsc2019, 4.7.2, latest ([4.7.2-windowsservercore-ltsc2019/runtime/Dockerfile](https://github.com/Microsoft/wcf-docker/blob/master/4.7.2-windowsservercore-ltsc2019/runtime/Dockerfile))
|
||||
|
||||
# Supported Windows Server, version 1803 amd64 tags
|
||||
|
||||
* 4.7.2-windowsservercore-1803, 4.7.2, latest ([4.7.2-windowsservercore-1803/runtime/Dockerfile](https://github.com/Microsoft/wcf-docker/blob/master/4.7.2-windowsservercore-1803/runtime/Dockerfile))
|
||||
|
|
Загрузка…
Ссылка в новой задаче