diff options
Diffstat (limited to '.gitlab-ci/windows/Dockerfile_vs')
-rw-r--r-- | .gitlab-ci/windows/Dockerfile_vs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/.gitlab-ci/windows/Dockerfile_vs b/.gitlab-ci/windows/Dockerfile_vs deleted file mode 100644 index 95c45633151..00000000000 --- a/.gitlab-ci/windows/Dockerfile_vs +++ /dev/null @@ -1,29 +0,0 @@ -# escape=` - -ARG base_image -FROM ${base_image} - -# 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';"] -RUN Write-Output $PSVersionTable $ErrorActionPreference - -COPY mesa_deps_vs2019.ps1 C:\ -RUN C:\mesa_deps_vs2019.ps1 -COPY mesa_vs_init.ps1 C:\ - -ENV VULKAN_SDK_VERSION='1.3.211.0' -COPY mesa_deps_choco.ps1 C:\ -RUN C:\mesa_deps_choco.ps1 - -# Example usage: -# `base_image` should use windows image that can be run with `--isolation=process` option, -# since the resulting container will want to be used that way be later containers in the build process. -# Only --isolation=hyperv can succeed building this container locally, -# --isolation=process have network issue when installing Visual Studio and choco will crash -# docker build --isolation=hyperv -f .\Dockerfile_vs -t mesa_vs --build-arg base_image="mcr.microsoft.com/windows:10.0.19041.1415" . - |