mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 15:53:35 +01:00
Fixed SHA256 for cygwin
This commit is contained in:
parent
585593e8a8
commit
9dc4c5f4ed
@ -200,7 +200,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
|||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
||||||
(New-Object Net.WebClient).DownloadFile("""$env:CYGWIN_URL""", """$env:SystemDrive\setup.exe"""); `
|
(New-Object Net.WebClient).DownloadFile("""$env:CYGWIN_URL""", """$env:SystemDrive\setup.exe"""); `
|
||||||
`
|
`
|
||||||
$sha256 = '98fac3ee56a183f8c45abc1e80395c48f075e338708d27a64eee8c942fd2baa9'; `
|
$sha256 = '18b445dc16259bb772aaf0d32d64f9ed3166045fdc07eb9154651840d8a27752'; `
|
||||||
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
|
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
|
||||||
if ((Get-FileHash $env:SystemDrive\setup.exe -Algorithm sha256).Hash -ne $sha256) { `
|
if ((Get-FileHash $env:SystemDrive\setup.exe -Algorithm sha256).Hash -ne $sha256) { `
|
||||||
Write-Host 'Checksum Cygwin failed!'; `
|
Write-Host 'Checksum Cygwin failed!'; `
|
||||||
|
Loading…
Reference in New Issue
Block a user