Updated 7zip package

This commit is contained in:
Alexey Pustovalov 2022-04-05 00:59:58 +03:00
parent b3057c3c60
commit 2c0aea0f4b

View File

@ -6,7 +6,7 @@ FROM $BUILD_BASE_IMAGE as builder_base
ARG PCRE_VERSION=8.45 ARG PCRE_VERSION=8.45
ARG OPENSSL_VERSION=1.1.1n ARG OPENSSL_VERSION=1.1.1n
ARG GOLANG_VERSION=1.17.6 ARG GOLANG_VERSION=1.17.6
ARG SEVEN_ZIP_VERSION=1900 ARG SEVEN_ZIP_VERSION=2107
ARG BUILD_ARCH=x64 ARG BUILD_ARCH=x64
ARG CPU_MODEL=AMD64 ARG CPU_MODEL=AMD64
@ -90,7 +90,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ` [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest -OutFile $env:SystemDrive\7z.msi -Uri $env:SEVEN_ZIP_URL; ` Invoke-WebRequest -OutFile $env:SystemDrive\7z.msi -Uri $env:SEVEN_ZIP_URL; `
` `
$sha256 = 'a7803233eedb6a4b59b3024ccf9292a6fffb94507dc998aa67c5b745d197a5dc'; ` $sha256 = '0b461f0a0eccfc4f39733a80d70fd1210fdd69f600fb6b657e03940a734e5fc1'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); ` Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\7z.msi -Algorithm sha256).Hash -ne $sha256) { ` if ((Get-FileHash $env:SystemDrive\7z.msi -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum 7-zip failed!'; ` Write-Host 'Checksum 7-zip failed!'; `