From ecb5f86fe0e9c84864118231abdf13a97872a2fb Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Wed, 6 Aug 2025 14:08:39 -0700 Subject: [PATCH 1/4] Update Windows Dockerfile to exit on verification of vs_buildtools.exe --- nightly-main/windows/LTSC2022/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/nightly-main/windows/LTSC2022/Dockerfile b/nightly-main/windows/LTSC2022/Dockerfile index b1af4a39..2b0ecdd8 100644 --- a/nightly-main/windows/LTSC2022/Dockerfile +++ b/nightly-main/windows/LTSC2022/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ From f36fce836d2f9b303bb6b8bafddb102f8952bb3c Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Wed, 6 Aug 2025 14:12:08 -0700 Subject: [PATCH 2/4] Update the SHA for vs_buildtools to 95B8BCAC49757DBA2BD80827484E65B2F0EF57C11C143B87514B913839F78657 --- nightly-main/windows/LTSC2022/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightly-main/windows/LTSC2022/Dockerfile b/nightly-main/windows/LTSC2022/Dockerfile index 2b0ecdd8..9c9c6b26 100644 --- a/nightly-main/windows/LTSC2022/Dockerfile +++ b/nightly-main/windows/LTSC2022/Dockerfile @@ -96,7 +96,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); # Install Visual Studio Build Tools ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB_SHA256=95B8BCAC49757DBA2BD80827484E65B2F0EF57C11C143B87514B913839F78657 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ From 422e7030fd061fbe005aa3b3634d0dff7739420e Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Wed, 6 Aug 2025 14:24:23 -0700 Subject: [PATCH 3/4] Fix the exit 1 issue with vs_buildtools.exe --- 5.10/windows/1809/Dockerfile | 1 + 5.10/windows/LTSC2022/Dockerfile | 1 + 5.9/windows/LTSC2022/Dockerfile | 1 + 6.0/windows/1809/Dockerfile | 1 + 6.0/windows/LTSC2022/Dockerfile | 1 + 6.1/windows/1809/Dockerfile | 1 + 6.1/windows/LTSC2022/Dockerfile | 1 + nightly-6.0/windows/1809/Dockerfile | 1 + nightly-6.0/windows/LTSC2022/Dockerfile | 1 + nightly-6.1/windows/1809/Dockerfile | 1 + nightly-6.1/windows/LTSC2022/Dockerfile | 1 + nightly-6.2/windows/1809/Dockerfile | 1 + nightly-6.2/windows/LTSC2022/Dockerfile | 1 + nightly-main/windows/1809/Dockerfile | 1 + swift-ci/main/windows/LTSC2022/Dockerfile | 1 + 15 files changed, 15 insertions(+) diff --git a/5.10/windows/1809/Dockerfile b/5.10/windows/1809/Dockerfile index ae7fda4f..ca90b730 100644 --- a/5.10/windows/1809/Dockerfile +++ b/5.10/windows/1809/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/5.10/windows/LTSC2022/Dockerfile b/5.10/windows/LTSC2022/Dockerfile index 195661b4..92e0423d 100644 --- a/5.10/windows/LTSC2022/Dockerfile +++ b/5.10/windows/LTSC2022/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/5.9/windows/LTSC2022/Dockerfile b/5.9/windows/LTSC2022/Dockerfile index 700e7b91..0d212a9b 100644 --- a/5.9/windows/LTSC2022/Dockerfile +++ b/5.9/windows/LTSC2022/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/6.0/windows/1809/Dockerfile b/6.0/windows/1809/Dockerfile index e828f062..7c9e8a3d 100644 --- a/6.0/windows/1809/Dockerfile +++ b/6.0/windows/1809/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/6.0/windows/LTSC2022/Dockerfile b/6.0/windows/LTSC2022/Dockerfile index 9f6b1afa..840bdf89 100644 --- a/6.0/windows/LTSC2022/Dockerfile +++ b/6.0/windows/LTSC2022/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/6.1/windows/1809/Dockerfile b/6.1/windows/1809/Dockerfile index 9b3c7bb8..0cc32f33 100644 --- a/6.1/windows/1809/Dockerfile +++ b/6.1/windows/1809/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/6.1/windows/LTSC2022/Dockerfile b/6.1/windows/LTSC2022/Dockerfile index ca637854..a155a84d 100644 --- a/6.1/windows/LTSC2022/Dockerfile +++ b/6.1/windows/LTSC2022/Dockerfile @@ -100,6 +100,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-6.0/windows/1809/Dockerfile b/nightly-6.0/windows/1809/Dockerfile index d867981f..73d92bf7 100644 --- a/nightly-6.0/windows/1809/Dockerfile +++ b/nightly-6.0/windows/1809/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-6.0/windows/LTSC2022/Dockerfile b/nightly-6.0/windows/LTSC2022/Dockerfile index f3ca5eb5..df311412 100644 --- a/nightly-6.0/windows/LTSC2022/Dockerfile +++ b/nightly-6.0/windows/LTSC2022/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-6.1/windows/1809/Dockerfile b/nightly-6.1/windows/1809/Dockerfile index e2bc03f8..04578e01 100644 --- a/nightly-6.1/windows/1809/Dockerfile +++ b/nightly-6.1/windows/1809/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-6.1/windows/LTSC2022/Dockerfile b/nightly-6.1/windows/LTSC2022/Dockerfile index ed7b8bb3..27ead924 100644 --- a/nightly-6.1/windows/LTSC2022/Dockerfile +++ b/nightly-6.1/windows/LTSC2022/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-6.2/windows/1809/Dockerfile b/nightly-6.2/windows/1809/Dockerfile index ae3e9a5b..b58109ec 100644 --- a/nightly-6.2/windows/1809/Dockerfile +++ b/nightly-6.2/windows/1809/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-6.2/windows/LTSC2022/Dockerfile b/nightly-6.2/windows/LTSC2022/Dockerfile index 4fb50d9f..dc29b70c 100644 --- a/nightly-6.2/windows/LTSC2022/Dockerfile +++ b/nightly-6.2/windows/LTSC2022/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/nightly-main/windows/1809/Dockerfile b/nightly-main/windows/1809/Dockerfile index 5ef600bf..9ed3a062 100644 --- a/nightly-main/windows/1809/Dockerfile +++ b/nightly-main/windows/1809/Dockerfile @@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ diff --git a/swift-ci/main/windows/LTSC2022/Dockerfile b/swift-ci/main/windows/LTSC2022/Dockerfile index bd267ced..56f9381d 100644 --- a/swift-ci/main/windows/LTSC2022/Dockerfile +++ b/swift-ci/main/windows/LTSC2022/Dockerfile @@ -139,6 +139,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); Write-Host '✓'; \ } else { \ Write-Host ('✘ ({0})' -f $Hash.Hash); \ + exit 1; \ } \ Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \ $Process = \ From 9cc2b22bc21b29b06d4340532b31c991161be61d Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Wed, 6 Aug 2025 14:43:40 -0700 Subject: [PATCH 4/4] Update the vs_BuildTools.exe version/SHA --- nightly-6.0/windows/1809/Dockerfile | 4 ++-- nightly-6.0/windows/LTSC2022/Dockerfile | 4 ++-- nightly-6.1/windows/1809/Dockerfile | 4 ++-- nightly-6.1/windows/LTSC2022/Dockerfile | 4 ++-- nightly-6.2/windows/1809/Dockerfile | 4 ++-- nightly-6.2/windows/LTSC2022/Dockerfile | 4 ++-- nightly-main/windows/1809/Dockerfile | 4 ++-- nightly-main/windows/LTSC2022/Dockerfile | 2 +- swift-ci/main/windows/LTSC2022/Dockerfile | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/nightly-6.0/windows/1809/Dockerfile b/nightly-6.0/windows/1809/Dockerfile index 73d92bf7..7ea2dcbf 100644 --- a/nightly-6.0/windows/1809/Dockerfile +++ b/nightly-6.0/windows/1809/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-6.0/windows/LTSC2022/Dockerfile b/nightly-6.0/windows/LTSC2022/Dockerfile index df311412..ed538b3b 100644 --- a/nightly-6.0/windows/LTSC2022/Dockerfile +++ b/nightly-6.0/windows/LTSC2022/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-6.1/windows/1809/Dockerfile b/nightly-6.1/windows/1809/Dockerfile index 04578e01..ea4845fa 100644 --- a/nightly-6.1/windows/1809/Dockerfile +++ b/nightly-6.1/windows/1809/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-6.1/windows/LTSC2022/Dockerfile b/nightly-6.1/windows/LTSC2022/Dockerfile index 27ead924..60b2b49b 100644 --- a/nightly-6.1/windows/LTSC2022/Dockerfile +++ b/nightly-6.1/windows/LTSC2022/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-6.2/windows/1809/Dockerfile b/nightly-6.2/windows/1809/Dockerfile index b58109ec..f337481c 100644 --- a/nightly-6.2/windows/1809/Dockerfile +++ b/nightly-6.2/windows/1809/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-6.2/windows/LTSC2022/Dockerfile b/nightly-6.2/windows/LTSC2022/Dockerfile index dc29b70c..5a59d59f 100644 --- a/nightly-6.2/windows/LTSC2022/Dockerfile +++ b/nightly-6.2/windows/LTSC2022/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-main/windows/1809/Dockerfile b/nightly-main/windows/1809/Dockerfile index 9ed3a062..84fab848 100644 --- a/nightly-main/windows/1809/Dockerfile +++ b/nightly-main/windows/1809/Dockerfile @@ -95,8 +95,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=15A2A6591B1E91B63E9909864FCBC68459EB26124B814618947215F754CD9CEE +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \ diff --git a/nightly-main/windows/LTSC2022/Dockerfile b/nightly-main/windows/LTSC2022/Dockerfile index 9c9c6b26..ab0d24fd 100644 --- a/nightly-main/windows/LTSC2022/Dockerfile +++ b/nightly-main/windows/LTSC2022/Dockerfile @@ -95,7 +95,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe ARG VSB_SHA256=95B8BCAC49757DBA2BD80827484E65B2F0EF57C11C143B87514B913839F78657 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ diff --git a/swift-ci/main/windows/LTSC2022/Dockerfile b/swift-ci/main/windows/LTSC2022/Dockerfile index 56f9381d..6ffe6541 100644 --- a/swift-ci/main/windows/LTSC2022/Dockerfile +++ b/swift-ci/main/windows/LTSC2022/Dockerfile @@ -128,8 +128,8 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:PY39}); Remove-Item -ErrorAction SilentlyContinue -Force -Recurse ${env:TEMP}\* # Install Visual Studio Build Tools -ARG VSB=https://aka.ms/vs/17/release/vs_buildtools.exe -ARG VSB_SHA256=C792BDB0FD46155DE19955269CAC85D52C4C63C23DB2CF43D96B9390146F9390 +ARG VSB=https://download.visualstudio.microsoft.com/download/pr/ae7ac791-9759-4076-bba7-47ff510c57af/a783199025439d65f310bff041e278b966a6dbed8dbcd7fc96b55389f574ef41/vs_BuildTools.exe +ARG VSB_SHA256=A783199025439D65F310BFF041E278B966A6DBED8DBCD7FC96B55389F574EF41 RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); \ Invoke-WebRequest -Uri ${env:VSB} -OutFile vs_buildtools.exe; \ Write-Host '✓'; \