Updated OpenSSL version to 3.1.4 for Windows Zabbix Agent

This commit is contained in:
Alexey Pustovalov 2024-01-21 17:21:20 +09:00
parent f87f43a151
commit 84df6623b7
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ ARG BUILD_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022
FROM $BUILD_BASE_IMAGE
ARG PCRE2_VERSION=10.42
ARG OPENSSL_VERSION=3.1.3
ARG OPENSSL_VERSION=3.1.4
ARG LIBMODBUS_VERSION=v3.1.10
ARG BUILD_ARCH=x64
ARG CPU_MODEL=AMD64
@ -186,7 +186,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest -OutFile $env:SystemDrive\openssl.tar.gz -Uri $env:OPENSSL_URL; `
`
$sha256 = 'f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6'; `
$sha256 = '840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\openssl.tar.gz -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum OpenSSL library failed!'; `

View File

@ -4,7 +4,7 @@ ARG BUILD_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022
FROM $BUILD_BASE_IMAGE as builder_base
ARG PCRE2_VERSION=10.42
ARG OPENSSL_VERSION=3.1.3
ARG OPENSSL_VERSION=3.1.4
ARG GOLANG_VERSION=1.21.1
ARG SEVEN_ZIP_VERSION=2107
ARG BUILD_ARCH=x64
@ -217,7 +217,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest -OutFile $env:SystemDrive\openssl.tar.gz -Uri $env:OPENSSL_URL; `
`
$sha256 = 'f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6'; `
$sha256 = '840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3'; `
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
if ((Get-FileHash $env:SystemDrive\openssl.tar.gz -Algorithm sha256).Hash -ne $sha256) { `
Write-Host 'Checksum OpenSSL library failed!'; `