mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-04 15:44:06 +08:00
24e177aff2
Get `Vulkan-SDK` `Vulkan-Runtime` `SPIRV-Tools` and `SPIRV-Headers` to be consistence version Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934>
19 lines
725 B
Plaintext
19 lines
725 B
Plaintext
# escape=`
|
|
|
|
FROM mcr.microsoft.com/windows/server:ltsc2022
|
|
|
|
# https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/
|
|
# Wrapping the following command in cmd.exe
|
|
# iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet"
|
|
RUN powershell -ExecutionPolicy RemoteSigned -Command "$ErrorActionPreference = 'Stop'; iex ""& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Quiet"""
|
|
|
|
# Make sure any failure in PowerShell scripts is fatal
|
|
SHELL ["pwsh", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"]
|
|
|
|
COPY mesa_deps_vs2019.ps1 C:\
|
|
RUN C:\mesa_deps_vs2019.ps1
|
|
|
|
ENV VULKAN_SDK_VERSION='1.3.211.0'
|
|
COPY mesa_deps_build.ps1 C:\
|
|
RUN C:\mesa_deps_build.ps1
|