Update ServiceMonitor.exe
This commit is contained in:
Родитель
619c3d052d
Коммит
d257ffdef9
|
@ -10,7 +10,7 @@ RUN powershell -NoProfile -Command `
|
|||
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/1342334/ServiceMonitor.exe -OutFile C:\ServiceMonitor.exe; `
|
||||
Invoke-WebRequest https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.2/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}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ FROM microsoft/windowsservercore:1709
|
|||
|
||||
RUN powershell -Command `
|
||||
Add-WindowsFeature Web-Server; `
|
||||
Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.1/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
|
||||
Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.2/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ FROM microsoft/windowsservercore:ltsc2016
|
|||
|
||||
RUN powershell -Command `
|
||||
Add-WindowsFeature Web-Server; `
|
||||
Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.1/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
|
||||
Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.2/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче