1234567891011121314151617181920212223242526 |
- # escape=`
- # Use the latest Windows Server Core image with .NET Framework 4.8.
- FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
- # Restore the default Windows shell for correct batch processing.
- SHELL ["cmd", "/S", "/C"]
- # Download the Build Tools bootstrapper.
- ADD https://aka.ms/vs/15/release/vs_buildtools.exe C:\TEMP\vs_buildtools.exe
- # Install Build Tools excluding workloads and components with known issues.
- RUN C:\TEMP\vs_buildtools.exe
-
-
-
-
-
-
- || IF "%ERRORLEVEL%"=="3010" EXIT 0
- # Start developer command prompt with any other commands specified.
- ENTRYPOINT C:\BuildTools\Common7\Tools\VsDevCmd.bat &&
- # Default to PowerShell if no other command specified.
- CMD ["powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]
|