File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
44FROM ${BASE_IMAGE}
55
66SHELL ["powershell" ]
7- ENV VS_VERSION=2019
7+ ENV VS_VERSION=2022
88RUN [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:\P rogram Files (x86)\M icrosoft Visual Studio\% VS_VERSION%\B uildTools\V C\A uxiliary\B uild\v cvars64.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
3131SHELL ["powershell" ]
3232ENV chocolateyUseWindowsCompression false
You can’t perform that action at this time.
0 commit comments