diff --git a/docker/windows/base/build/Dockerfile b/docker/windows/base/build/Dockerfile index 19aa9b6ada030..74f0f1e02da10 100644 --- a/docker/windows/base/build/Dockerfile +++ b/docker/windows/base/build/Dockerfile @@ -29,6 +29,8 @@ COPY ./spin.ps1 /spin.ps1 # of the execution, i.e. the full invocation string. COPY ./list_python_processes.py /list_python_processes.py +# Pin Choco to 1.4.0 to avoid required reboot in 2.0.0 +ENV chocolateyVersion '1.4.0' # Install deps via chocolatey. RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'));` mkdir C:\choco-cache;`