This repository was archived by the owner on Nov 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +84
-0
lines changed
4.8-windowsservercore-1803/runtime
4.8-windowsservercore-ltsc2016/runtime
4.8-windowsservercore-ltsc2019/runtime Expand file tree Collapse file tree 3 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 1+ # escape=`
2+
3+ FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-1803
4+
5+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
6+
7+ RUN Add-WindowsFeature Web-Server; `
8+ Add-WindowsFeature NET-Framework-45-ASPNET; `
9+ Add-WindowsFeature Web-Asp-Net45; `
10+ Remove-Item -Recurse C:\i netpub\w wwroot\* ; `
11+ Invoke-WebRequest -Uri https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.6/ServiceMonitor.exe -OutFile C:\S erviceMonitor.exe
12+
13+ # download Roslyn nupkg and ngen the compiler binaries
14+ RUN Invoke-WebRequest https://api.nuget.org/packages/microsoft.net.compilers.2.9.0.nupkg -OutFile c:\m icrosoft.net.compilers.2.9.0.zip ; `
15+ Expand-Archive -Path c:\m icrosoft.net.compilers.2.9.0.zip -DestinationPath c:\R oslynCompilers ; `
16+ Remove-Item c:\m icrosoft.net.compilers.2.9.0.zip -Force ; `
17+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\c sc.exe /ExeConfig:c:\R oslynCompilers\t ools\c sc.exe | `
18+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\v bc.exe /ExeConfig:c:\R oslynCompilers\t ools\v bc.exe | `
19+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\V BCSCompiler.exe /ExeConfig:c:\R oslynCompilers\t ools\V BCSCompiler.exe | `
20+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\c sc.exe /ExeConfig:c:\R oslynCompilers\t ools\c sc.exe | `
21+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\v bc.exe /ExeConfig:c:\R oslynCompilers\t ools\v bc.exe | `
22+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\V BCSCompiler.exe /ExeConfig:c:\R oslynCompilers\t ools\V BCSCompiler.exe ;
23+
24+ ENV ROSLYN_COMPILER_LOCATION c:\\ RoslynCompilers\\ tools
25+
26+ EXPOSE 80
27+
28+ ENTRYPOINT ["C:\\ ServiceMonitor.exe" , "w3svc" ]
Original file line number Diff line number Diff line change 1+ # escape=`
2+
3+ FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2016
4+
5+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
6+
7+ RUN Add-WindowsFeature Web-Server; `
8+ Add-WindowsFeature NET-Framework-45-ASPNET; `
9+ Add-WindowsFeature Web-Asp-Net45; `
10+ Remove-Item -Recurse C:\i netpub\w wwroot\* ; `
11+ Invoke-WebRequest -Uri https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.6/ServiceMonitor.exe -OutFile C:\S erviceMonitor.exe
12+
13+ # download Roslyn nupkg and ngen the compiler binaries
14+ RUN Invoke-WebRequest https://api.nuget.org/packages/microsoft.net.compilers.2.9.0.nupkg -OutFile c:\m icrosoft.net.compilers.2.9.0.zip ; `
15+ Expand-Archive -Path c:\m icrosoft.net.compilers.2.9.0.zip -DestinationPath c:\R oslynCompilers ; `
16+ Remove-Item c:\m icrosoft.net.compilers.2.9.0.zip -Force ; `
17+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\c sc.exe /ExeConfig:c:\R oslynCompilers\t ools\c sc.exe | `
18+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\v bc.exe /ExeConfig:c:\R oslynCompilers\t ools\v bc.exe | `
19+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\V BCSCompiler.exe /ExeConfig:c:\R oslynCompilers\t ools\V BCSCompiler.exe | `
20+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\c sc.exe /ExeConfig:c:\R oslynCompilers\t ools\c sc.exe | `
21+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\v bc.exe /ExeConfig:c:\R oslynCompilers\t ools\v bc.exe | `
22+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\V BCSCompiler.exe /ExeConfig:c:\R oslynCompilers\t ools\V BCSCompiler.exe ;
23+
24+ ENV ROSLYN_COMPILER_LOCATION c:\\ RoslynCompilers\\ tools
25+
26+ EXPOSE 80
27+
28+ ENTRYPOINT ["C:\\ ServiceMonitor.exe" , "w3svc" ]
Original file line number Diff line number Diff line change 1+ # escape=`
2+
3+ FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019
4+
5+ SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
6+
7+ RUN Add-WindowsFeature Web-Server; `
8+ Add-WindowsFeature NET-Framework-45-ASPNET; `
9+ Add-WindowsFeature Web-Asp-Net45; `
10+ Remove-Item -Recurse C:\i netpub\w wwroot\* ; `
11+ Invoke-WebRequest -Uri https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.6/ServiceMonitor.exe -OutFile C:\S erviceMonitor.exe
12+
13+ # download Roslyn nupkg and ngen the compiler binaries
14+ RUN Invoke-WebRequest https://api.nuget.org/packages/microsoft.net.compilers.2.9.0.nupkg -OutFile c:\m icrosoft.net.compilers.2.9.0.zip ; `
15+ Expand-Archive -Path c:\m icrosoft.net.compilers.2.9.0.zip -DestinationPath c:\R oslynCompilers ; `
16+ Remove-Item c:\m icrosoft.net.compilers.2.9.0.zip -Force ; `
17+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\c sc.exe /ExeConfig:c:\R oslynCompilers\t ools\c sc.exe | `
18+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\v bc.exe /ExeConfig:c:\R oslynCompilers\t ools\v bc.exe | `
19+ &C:\W indows\M icrosoft.NET\F ramework64\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\V BCSCompiler.exe /ExeConfig:c:\R oslynCompilers\t ools\V BCSCompiler.exe | `
20+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\c sc.exe /ExeConfig:c:\R oslynCompilers\t ools\c sc.exe | `
21+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\v bc.exe /ExeConfig:c:\R oslynCompilers\t ools\v bc.exe | `
22+ &C:\W indows\M icrosoft.NET\F ramework\v 4.0.30319\n gen.exe install c:\R oslynCompilers\t ools\V BCSCompiler.exe /ExeConfig:c:\R oslynCompilers\t ools\V BCSCompiler.exe ;
23+
24+ ENV ROSLYN_COMPILER_LOCATION c:\\ RoslynCompilers\\ tools
25+
26+ EXPOSE 80
27+
28+ ENTRYPOINT ["C:\\ ServiceMonitor.exe" , "w3svc" ]
You can’t perform that action at this time.
0 commit comments