Skip to content

Commit b72ccb8

Browse files
authored
use ghrelease as gcc download path (#842)
* use ghrelease as gcc download path * add known cve to trivy ignore
1 parent 068e714 commit b72ccb8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.trivyignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CVE-2022-29222
55
CVE-2022-29189
66
CVE-2022-1996
77
CVE-2022-27664
8+
CVE-2022-32149
89

910
#dpkg vulnerability in ubuntu
1011
CVE-2022-2526

scripts/build/windows/install-build-pre-requisites.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Build-Dependencies {
5151
New-Item -Path $destinationPath -ItemType "directory" -Force -ErrorAction Stop
5252

5353
Write-Host("downloading gcc : " + $destinationPath + " ...")
54-
$gccDownLoadUrl = "https://ciwinagentbuildgcc.blob.core.windows.net/tdm-gcc-64/TDM-GCC-64.zip"
54+
$gccDownLoadUrl = "https://github.com/microsoft/Docker-Provider/releases/download/tdm-gcc/TDM-GCC-64.zip"
5555
$gccPath = Join-Path -Path $destinationPath -ChildPath "gcc.zip"
5656
Invoke-WebRequest -UserAgent "BuildAgent" -Uri $gccDownLoadUrl -OutFile $gccPath
5757
Write-Host("downloading gcc zip file completed")
@@ -133,7 +133,7 @@ function Install-Docker() {
133133
Write-Host("installing docker for desktop completed")
134134
}
135135

136-
# speed up Invoke-WebRequest
136+
# speed up Invoke-WebRequest
137137
# https://stackoverflow.com/questions/28682642/powershell-why-is-using-invoke-webrequest-much-slower-than-a-browser-download
138138
$ProgressPreference = 'SilentlyContinue'
139139

0 commit comments

Comments
 (0)