diff --git a/ci/windows/Dockerfile b/ci/windows/Dockerfile index c91a3da262..a8ffae0d1e 100644 --- a/ci/windows/Dockerfile +++ b/ci/windows/Dockerfile @@ -3,6 +3,10 @@ FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019 SHELL [ "powershell" ] +# A version field to invalidatea Cirrus's build cache when needed, as suggested in +# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822 +ENV DOCKERFILE_VERSION 20230728 + RUN Set-ExecutionPolicy Unrestricted -Force # Install Chocolatey