8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Update VS docker build to 17.7.4

While there is a channel with "most current" version, I have no idea how to set --version value to use it.
This commit is contained in:
Vlad Khorsun 2023-10-10 18:42:57 +03:00
parent 4412d7dd3d
commit e74cf8a579

View File

@ -11,17 +11,19 @@ SHELL ["cmd", "/S", "/C"]
# Open (extract) the downloaded file.
# Open file vs_setup_bootstrapper.json and extract the installChannelUri value.
#
# 16.11.6.0 - https://aka.ms/vs/16/release/201528995_-1285443981/channel
# 16.11.7.0 - https://aka.ms/vs/16/release/152566872_220409660/channel
# 16.11.16 - https://aka.ms/vs/16/release/377566269_-1382739058/channel
# 16.11.6.0 - https://aka.ms/vs/16/release/201528995_-1285443981/channel
# 16.11.7.0 - https://aka.ms/vs/16/release/152566872_220409660/channel
# 16.11.16 - https://aka.ms/vs/16/release/377566269_-1382739058/channel
# 17.7.4 - https://aka.ms/vs/17/release/134599118_118780349/channel
# 17 - https://aka.ms/vs/17/release/channel
RUN `
set chocolateyUseWindowsCompression='false' && `
powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && `
set "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" && `
`
choco install --no-progress --yes visualstudio2019buildtools --version=16.11.16 --package-parameters " `
--installChannelUri https://aka.ms/vs/16/release/377566269_-1382739058/channel `
choco install --no-progress --yes visualstudio2022buildtools --version=17.7.4 --package-parameters " `
--installChannelUri https://aka.ms/vs/17/release/134599118_118780349/channel `
--quiet --wait --norestart --nocache `
--locale en-US `
--add Microsoft.Component.MSBuild `