1- FROM microsoft/windowsservercore
2- MAINTAINER xied75@gmail.com
1+ FROM microsoft/windowsservercore:10.0.14393.2312
2+ LABEL maintainer= " xied75@gmail.com"
33
44RUN powershell -Command \
55 mkdir c:\i nstall_logs; \
6- wget https://download.microsoft.com/download/F/1/D/F1DEB8DB-D277-4EF9-9F48-3A65D4D8F965/NDP461-DevPack-KB3105179-ENU.exe -OutFile NDP461-DevPack-KB3105179-ENU.exe; \
6+ Invoke-WebRequest https://download.microsoft.com/download/F/1/D/F1DEB8DB-D277-4EF9-9F48-3A65D4D8F965/NDP461-DevPack-KB3105179-ENU.exe -OutFile NDP461-DevPack-KB3105179-ENU.exe; \
77 Start-Process -FilePath "C:\N DP461-DevPack-KB3105179-ENU.exe" -ArgumentList /Passive, /NoRestart, /Log, c:\i nstall_logs\N DP461-DevPack-KB3105179-ENU.log -PassThru -Wait; \
88 rm NDP461-DevPack-KB3105179-ENU.exe; \
9- wget https://coderobin.blob.core.windows.net/public/Microsoft/update3/PortableLibrary.zip -OutFile PortableLibrary.zip; \
9+ Invoke-WebRequest https://coderobin.blob.core.windows.net/public/Microsoft/update3/PortableLibrary.zip -OutFile PortableLibrary.zip; \
1010 Expand-Archive -Path PortableLibrary.zip -DestinationPath /; \
1111 Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\P ortableLibrary\e nu\P ortableLibrary_DTPLP.msi" , EXTUI=1, /qn, /L, c:\i nstall_logs\P ortableLibrary_DTPLP.install.log -PassThru -Wait; \
1212 Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\P ortableLibrary\P ortableLibrary_DTP.msi" , EXTUI=1, /qn, /L, c:\i nstall_logs\P ortableLibrary_DTP.install.log -PassThru -Wait; \
1313 rm PortableLibrary.zip; \
1414 rm -Recurse -Force PortableLibrary; \
15- wget http://download.microsoft.com/download/4/3/3/4330912d-79ae-4037-8a55-7a8fc6b5eb68/buildtools_full.exe -OutFile buildtools_full.exe; \
15+ Invoke-WebRequest http://download.microsoft.com/download/4/3/3/4330912d-79ae-4037-8a55-7a8fc6b5eb68/buildtools_full.exe -OutFile buildtools_full.exe; \
1616 Start-Process -FilePath "C:\b uildtools_full.exe" -ArgumentList /Passive, /NoRestart, /Log, c:\i nstall_logs\b uild-tools-2015.log -PassThru -Wait; \
1717 rm buildtools_full.exe; \
18- wget https://coderobin.blob.core.windows.net/public/Microsoft/update3/BuildTools_MSBuildNuGet.zip -OutFile BuildTools_MSBuildNuGet.zip; \
18+ Invoke-WebRequest https://coderobin.blob.core.windows.net/public/Microsoft/update3/BuildTools_MSBuildNuGet.zip -OutFile BuildTools_MSBuildNuGet.zip; \
1919 Expand-Archive -Path BuildTools_MSBuildNuGet.zip -DestinationPath /; \
2020 Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\B uildTools_MSBuildNuGet\B uildTools_MSBuildNuGet.msi" , /qn, /L, c:\i nstall_logs\B uildTools_MSBuildNuGet.install.log -PassThru -Wait; \
2121 rm BuildTools_MSBuildNuGet.zip; \
2222 rm -Recurse -Force BuildTools_MSBuildNuGet; \
23- wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile C:\n uget.exe;
23+ Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile C:\n uget.exe;
2424
25- CMD [ "powershell" ]
25+ CMD [ "powershell" ]
0 commit comments