Skip to content

Commit c7f828a

Browse files
committed
fix: switch to win22
Signed-off-by: Kozlowski, Marek <marek.kozlowski@intel.com>
1 parent f796683 commit c7f828a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/docker/windows.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# escape=`
22

3-
ARG BASE_IMAGE=mcr.microsoft.com/dotnet/framework/runtime:4.8
3+
ARG BASE_IMAGE=mcr.microsoft.com/dotnet/framework/runtime:4.8.1
44
FROM ${BASE_IMAGE}
55

66
SHELL ["powershell"]
7-
ENV VS_VERSION=2019
7+
ENV VS_VERSION=2022
88
RUN [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
99
Switch ($env:VS_VERSION) { `
1010
"2019" {$url_version = "16"} `
@@ -26,7 +26,7 @@ RUN (start /w vs_buildtools.exe --quiet --wait --norestart --nocache `
2626
|| IF "%ERRORLEVEL%"=="3010" EXIT 0) `
2727
&& del /q vs_buildtools.exe `
2828
&& if not exist "C:\Program Files (x86)\Microsoft Visual Studio\%VS_VERSION%\BuildTools\VC\Auxiliary\Build\vcvars64.bat" exit 1
29-
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat", "&&"]
29+
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\%VS_VERSION%\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat", "&&"]
3030

3131
SHELL ["powershell"]
3232
ENV chocolateyUseWindowsCompression false

0 commit comments

Comments
 (0)