mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-22 04:40:53 +01:00
Fixed Redhat and Cygwin checksum
This commit is contained in:
parent
795f71a8c3
commit
ede9f6a7e6
@ -199,7 +199,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
||||
(New-Object Net.WebClient).DownloadFile("""$env:CYGWIN_URL""", """$env:SystemDrive\setup.exe"""); `
|
||||
`
|
||||
$sha256 = 'edd0a64dc65087ffe453ca94b267169b39458a983b29ac31320fcaa983d0f97e'; `
|
||||
$sha256 = '6bad4555154b3b348d1bfb633a2e9d6086aa46e36952f456a434ecef5b0010e0'; `
|
||||
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
|
||||
if ((Get-FileHash $env:SystemDrive\setup.exe -Algorithm sha256).Hash -ne $sha256) { `
|
||||
Write-Host 'Checksum Cygwin failed!'; `
|
||||
|
Loading…
Reference in New Issue
Block a user