Skip to content

Commit ecb5f86

Browse files
authored
Update Windows Dockerfile to exit on verification of vs_buildtools.exe
1 parent 3bf68fb commit ecb5f86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nightly-main/windows/LTSC2022/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
106106
Write-Host '✓'; \
107107
} else { \
108108
Write-Host ('✘ ({0})' -f $Hash.Hash); \
109+
exit 1; \
109110
} \
110111
Write-Host -NoNewLine 'Installing Visual Studio Build Tools ... '; \
111112
$Process = \

0 commit comments

Comments
 (0)