| 1 |
# Copyright 2019-2022, Mesa contributors |
| 2 |
# Copyright 2022, Collabora, Ltd. |
| 3 |
# SPDX-License-Identifier: MIT |
| 4 |
# Based on https://gitlab.freedesktop.org/mesa/mesa/-/blob/8396df5ad90aeb6ab2267811aba2187954562f81/.gitlab-ci/windows/Dockerfile_build |
| 5 |
|
| 6 |
# escape=` |
| 7 |
|
| 8 |
ARG base_image |
| 9 |
FROM ${base_image} |
| 10 |
|
| 11 |
# Make sure any failure in PowerShell scripts is fatal |
| 12 |
SHELL ["powershell", "-ExecutionPolicy", "RemoteSigned", "-Command", "$ErrorActionPreference = 'Stop';"] |
| 13 |
ENV ErrorActionPreference='Stop' |
| 14 |
|
| 15 |
|
| 16 |
COPY "monado_deps_build.ps1" "C:/" |
| 17 |
RUN "C:/monado_deps_build.ps1" |