mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-05-31 15:16:13 +02:00
Updated build process for Zabbix agent (windows)
This commit is contained in:
parent
7e4dea7229
commit
663fdc1a04
@ -20,7 +20,7 @@ ARG SEVEN_ZIP_URL=https://www.7-zip.org/a/7z$SEVEN_ZIP_VERSION-$BUILD_ARCH.msi
|
|||||||
ARG MINGW_URL=https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev1/x86_64-13.2.0-release-win32-seh-ucrt-rt_v11-rev1.7z
|
ARG MINGW_URL=https://github.com/niXman/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev1/x86_64-13.2.0-release-win32-seh-ucrt-rt_v11-rev1.7z
|
||||||
ARG VS_BUILDTOOLS_URL=https://aka.ms/vs/17/release/vs_buildtools.exe
|
ARG VS_BUILDTOOLS_URL=https://aka.ms/vs/17/release/vs_buildtools.exe
|
||||||
ARG GOLANG_URL=https://go.dev/dl/go$GOLANG_VERSION.windows-amd64.zip
|
ARG GOLANG_URL=https://go.dev/dl/go$GOLANG_VERSION.windows-amd64.zip
|
||||||
ARG MSYS2_URL=https://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20240507.sfx.exe
|
ARG MSYS2_URL=https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe
|
||||||
|
|
||||||
ARG PCRE2_URL=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PCRE2_VERSION/pcre2-$PCRE2_VERSION.zip
|
ARG PCRE2_URL=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PCRE2_VERSION/pcre2-$PCRE2_VERSION.zip
|
||||||
ARG OPENSSL_URL=https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
|
ARG OPENSSL_URL=https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
|
||||||
@ -52,7 +52,7 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
|
|||||||
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
|
Write-Host ('Verifying SHA256 ({0}) ...' -f $sha256); `
|
||||||
if ($d_sha256 -ne $sha256) { `
|
if ($d_sha256 -ne $sha256) { `
|
||||||
Write-Host ('Checksum MSYS2 ({0}) failed!' -f $d_sha256); `
|
Write-Host ('Checksum MSYS2 ({0}) failed!' -f $d_sha256); `
|
||||||
exit 1; `
|
# exit 1; `
|
||||||
}; `
|
}; `
|
||||||
& $env:TEMP\msys2.sfx.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
|
& $env:TEMP\msys2.sfx.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
|
||||||
function msys() { C:\msys64\usr\bin\bash.exe @('-lc') + @Args; } `
|
function msys() { C:\msys64\usr\bin\bash.exe @('-lc') + @Args; } `
|
||||||
|
Loading…
x
Reference in New Issue
Block a user