|
| 1 | +# escape=` |
| 2 | + |
| 3 | +ARG IMAGE_TAG |
| 4 | +FROM webkitdev/tools:$IMAGE_TAG |
| 5 | + |
| 6 | +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] |
| 7 | + |
| 8 | +#-------------------------------------------------------------------- |
| 9 | +# Install MS Build Tools 2022 |
| 10 | +#-------------------------------------------------------------------- |
| 11 | + |
| 12 | +RUN Install-VSBuildTools2022 -InstallationPath C:\MSVS -Workloads ` |
| 13 | + Microsoft.VisualStudio.Component.Roslyn.Compiler, ` |
| 14 | + Microsoft.Component.MSBuild, ` |
| 15 | + Microsoft.VisualStudio.Component.CoreBuildTools, ` |
| 16 | + Microsoft.VisualStudio.Workload.MSBuildTools, ` |
| 17 | + Microsoft.VisualStudio.Component.Windows10SDK, ` |
| 18 | + Microsoft.VisualStudio.Component.VC.CoreBuildTools, ` |
| 19 | + Microsoft.VisualStudio.Component.VC.Tools.x86.x64, ` |
| 20 | + Microsoft.VisualStudio.Component.VC.Redist.14.Latest, ` |
| 21 | + Microsoft.VisualStudio.Component.Windows10SDK.17763, ` |
| 22 | + Microsoft.VisualStudio.Workload.VCTools |
| 23 | + |
| 24 | +#-------------------------------------------------------------------- |
| 25 | +# Install LLVM for Clang tooling support |
| 26 | +#-------------------------------------------------------------------- |
| 27 | + |
| 28 | +ENV LLVM_VERSION 13.0.0 |
| 29 | + |
| 30 | +RUN Register-SystemPath -Path C:\LLVM\bin; ` |
| 31 | + Install-LLVM -Version $env:LLVM_VERSION -InstallationPath C:\LLVM; |
| 32 | + |
| 33 | +#-------------------------------------------------------------------- |
| 34 | +# Install Debugging Tools for Windows |
| 35 | +#-------------------------------------------------------------------- |
| 36 | + |
| 37 | +RUN Install-Windows10SDK -Features OptionId.WindowsDesktopDebuggers; |
0 commit comments