mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-11 16:18:52 +01:00
Updated OpenSSL and Go lang versions for Windows agent
This commit is contained in:
parent
e32cd911aa
commit
27f4136580
@ -4,7 +4,7 @@ ARG BUILD_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022
|
||||
FROM $BUILD_BASE_IMAGE
|
||||
|
||||
ARG PCRE2_VERSION=10.39
|
||||
ARG OPENSSL_VERSION=3.0.3
|
||||
ARG OPENSSL_VERSION=3.0.7
|
||||
ARG LIBMODBUS_VERSION=v3.1.7
|
||||
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 = 'ee0078adcef1de5f003c62c80cc96527721609c6f3bb42b7795df31f8b558c0b'; `
|
||||
$sha256 = '83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e'; `
|
||||
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!'; `
|
||||
|
@ -4,8 +4,8 @@ ARG BUILD_BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2022
|
||||
FROM $BUILD_BASE_IMAGE as builder_base
|
||||
|
||||
ARG PCRE2_VERSION=10.39
|
||||
ARG OPENSSL_VERSION=3.0.3
|
||||
ARG GOLANG_VERSION=1.17.6
|
||||
ARG OPENSSL_VERSION=3.0.7
|
||||
ARG GOLANG_VERSION=1.19.3
|
||||
ARG SEVEN_ZIP_VERSION=2107
|
||||
ARG BUILD_ARCH=x64
|
||||
ARG CPU_MODEL=AMD64
|
||||
@ -66,7 +66,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
||||
Write-Host ('Downloading {0} ...' -f $env:GOLANG_URL); `
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
||||
Invoke-WebRequest -OutFile $env:SystemDrive\go-amd64.msi -Uri $env:GOLANG_URL; `
|
||||
$sha256 = '43a67c37be6699f3fc58c3d7f52cd0d6117d8777f65c79f73c44a58c6ed98f22'; `
|
||||
$sha256 = '056177b590426bda3bdd7896b9dd36bd4b37211d16d46600dab1fb430b1132f1'; `
|
||||
`
|
||||
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
|
||||
if ((Get-FileHash $env:SystemDrive\go-amd64.msi -Algorithm sha256).Hash -ne $sha256) { `
|
||||
@ -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 = 'ee0078adcef1de5f003c62c80cc96527721609c6f3bb42b7795df31f8b558c0b'; `
|
||||
$sha256 = '83049d042a260e696f62406ac5c08bf706fd84383f945cf21bd61e9ed95c396e'; `
|
||||
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!'; `
|
||||
|
Loading…
Reference in New Issue
Block a user