From 3694c74812152d12a4a8bc5b63febb12ffe72118 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 21 May 2024 02:06:44 +0900 Subject: [PATCH] Updated build process for Zabbix agent (windows) --- Dockerfiles/build-base/windows/Dockerfile.agent2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfiles/build-base/windows/Dockerfile.agent2 b/Dockerfiles/build-base/windows/Dockerfile.agent2 index a7b870502..8dec54de4 100644 --- a/Dockerfiles/build-base/windows/Dockerfile.agent2 +++ b/Dockerfiles/build-base/windows/Dockerfile.agent2 @@ -142,6 +142,7 @@ RUN Set-Location -Path $env:SystemDrive\.; ` ` Write-Host 'Verifying install ("gcc -v") ...'; ` gcc -v; ` + tasklist; ` ` [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ` Invoke-WebRequest -UseBasicParsing -uri "https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe" -OutFile $env:SystemDrive\msys2.exe; ` @@ -151,6 +152,7 @@ RUN Set-Location -Path $env:SystemDrive\.; ` msys ' '; ` msys 'pacman --noconfirm -Syuu'; ` msys 'pacman --noconfirm -Syuu'; ` + bash -lc 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; ` msys 'pacman --noconfirm -Scc'; ` ` Write-Host 'Verifying install ("bash --version") ...'; `