|
1 | | -FROM windowsservercore |
| 1 | +FROM microsoft/windowsservercore |
2 | 2 | MAINTAINER xied75@gmail.com |
3 | 3 |
|
4 | 4 | RUN powershell -Command \ |
| 5 | + mkdir c:\install_logs; \ |
5 | 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 | | - Start-Process -FilePath "C:\NDP461-DevPack-KB3105179-ENU.exe" -ArgumentList /Passive, /NoRestart, /Log, NDP461-DevPack-KB3105179-ENU.log -PassThru -Wait; \ |
| 7 | + Start-Process -FilePath "C:\NDP461-DevPack-KB3105179-ENU.exe" -ArgumentList /Passive, /NoRestart, /Log, c:\install_logs\NDP461-DevPack-KB3105179-ENU.log -PassThru -Wait; \ |
7 | 8 | rm NDP461-DevPack-KB3105179-ENU.exe; \ |
8 | | - wget https://coderobin.blob.core.windows.net/public/Microsoft/PortableLibrary.zip -OutFile PortableLibrary.zip; \ |
| 9 | + wget https://coderobin.blob.core.windows.net/public/Microsoft/update3/PortableLibrary.zip -OutFile PortableLibrary.zip; \ |
9 | 10 | Expand-Archive -Path PortableLibrary.zip -DestinationPath /; \ |
10 | | - Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\PortableLibrary\enu\PortableLibrary_DTPLP.msi", EXTUI=1, /qn, /L, PortableLibrary_DTPLP.install.log -PassThru -Wait; \ |
11 | | - Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\PortableLibrary\PortableLibrary_DTP.msi", EXTUI=1, /qn, /L, PortableLibrary_DTP.install.log -PassThru -Wait; \ |
| 11 | + Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\PortableLibrary\enu\PortableLibrary_DTPLP.msi", EXTUI=1, /qn, /L, c:\install_logs\PortableLibrary_DTPLP.install.log -PassThru -Wait; \ |
| 12 | + Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\PortableLibrary\PortableLibrary_DTP.msi", EXTUI=1, /qn, /L, c:\install_logs\PortableLibrary_DTP.install.log -PassThru -Wait; \ |
12 | 13 | rm PortableLibrary.zip; \ |
13 | 14 | rm -Recurse -Force PortableLibrary; \ |
14 | | - wget http://download.microsoft.com/download/1/f/e/1fe5d584-c5a9-4aee-907a-421abe4c74f2/buildtools_full.exe -OutFile buildtools_full.exe; \ |
15 | | - Start-Process -FilePath "C:\buildtools_full.exe" -ArgumentList /Passive, /NoRestart, /Log, build-tools-2015.log -PassThru -Wait; \ |
| 15 | + wget http://download.microsoft.com/download/4/3/3/4330912d-79ae-4037-8a55-7a8fc6b5eb68/buildtools_full.exe -OutFile buildtools_full.exe; \ |
| 16 | + Start-Process -FilePath "C:\buildtools_full.exe" -ArgumentList /Passive, /NoRestart, /Log, c:\install_logs\build-tools-2015.log -PassThru -Wait; \ |
16 | 17 | rm buildtools_full.exe; \ |
17 | | - wget https://coderobin.blob.core.windows.net/public/Microsoft/BuildTools_MSBuildNuGet.zip -OutFile BuildTools_MSBuildNuGet.zip; \ |
| 18 | + wget https://coderobin.blob.core.windows.net/public/Microsoft/update3/BuildTools_MSBuildNuGet.zip -OutFile BuildTools_MSBuildNuGet.zip; \ |
18 | 19 | Expand-Archive -Path BuildTools_MSBuildNuGet.zip -DestinationPath /; \ |
19 | | - Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\BuildTools_MSBuildNuGet\BuildTools_MSBuildNuGet.msi", /qn, /L, BuildTools_MSBuildNuGet.install.log -PassThru -Wait; \ |
| 20 | + Start-Process -FilePath msiexec.exe -ArgumentList /i, "C:\BuildTools_MSBuildNuGet\BuildTools_MSBuildNuGet.msi", /qn, /L, c:\install_logs\BuildTools_MSBuildNuGet.install.log -PassThru -Wait; \ |
20 | 21 | rm BuildTools_MSBuildNuGet.zip; \ |
21 | 22 | rm -Recurse -Force BuildTools_MSBuildNuGet; \ |
22 | 23 | wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile C:\nuget.exe; |
|
0 commit comments