3 FROM mcr.microsoft.com/windows/server:ltsc2022
5 # https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/
6 # Wrapping the following command in cmd.exe
7 # iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet"
8 RUN powershell -ExecutionPolicy RemoteSigned -Command "$ErrorActionPreference = 'Stop'; iex ""& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet"""
10 # Make sure any failure in PowerShell scripts is fatal
11 SHELL ["pwsh", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"]
13 COPY mesa_deps_vs2019.ps1 C:\
14 RUN C:\mesa_deps_vs2019.ps1
15 COPY mesa_vs_init.ps1 C:\
17 ENV VULKAN_SDK_VERSION='1.3.211.0'
18 COPY mesa_deps_build.ps1 C:\
19 RUN C:\mesa_deps_build.ps1