2022-05-18 16:10:12 +00:00
|
|
|
# Copyright 2019-2022, Mesa contributors
|
|
|
|
# Copyright 2022, Collabora, Ltd.
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
# Based on https://gitlab.freedesktop.org/mesa/mesa/-/blob/8396df5ad90aeb6ab2267811aba2187954562f81/.gitlab-ci/windows/Dockerfile_build
|
|
|
|
|
|
|
|
# escape=`
|
|
|
|
|
|
|
|
# FROM mcr.microsoft.com/windows:2004
|
2022-07-27 14:04:47 +00:00
|
|
|
FROM mcr.microsoft.com/windows/server:ltsc2022
|
2022-05-18 16:10:12 +00:00
|
|
|
|
|
|
|
# Make sure any failure in PowerShell scripts is fatal
|
|
|
|
SHELL ["powershell", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"]
|
|
|
|
ENV ErrorActionPreference='Stop'
|
|
|
|
|
|
|
|
COPY "monado_deps_vs2022.ps1" "C:/"
|
|
|
|
RUN "C:/monado_deps_vs2022.ps1"
|