From 06cdbd2788c155d6c85127f9cb7e300406ea7e5c Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 21 May 2024 00:47:09 +0900 Subject: [PATCH] Updated build process for Zabbix agent (windows) --- Dockerfiles/build-base/windows/Dockerfile.agent2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfiles/build-base/windows/Dockerfile.agent2 b/Dockerfiles/build-base/windows/Dockerfile.agent2 index 1e5d9b23b..9ec86d4ab 100644 --- a/Dockerfiles/build-base/windows/Dockerfile.agent2 +++ b/Dockerfiles/build-base/windows/Dockerfile.agent2 @@ -147,7 +147,7 @@ RUN Set-Location -Path $env:SystemDrive\.; ` & $env:TEMP\msys2.sfx.exe -y -o"""$env:SystemDrive\""" | Out-Null; ` bash -lc 'pacman -Syuu --needed --noconfirm --ask=20'; ` bash -lc 'pacman -Syu --noconfirm'; ` -# bash -lc 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; ` + bash -lc 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; ` ` Write-Host 'Verifying install ("bash --version") ...'; ` bash --version; ` @@ -178,6 +178,7 @@ RUN Set-Location -Path $env:SystemDrive\.; ` ` Write-Host 'Removing downloaded...'; ` Remove-Item -Force -Recurse $env:TEMP\*; ` + Remove-Item -Force -Recurse $env:SystemDrive\msys64\*; ` tasklist; ` get-process; ` taskkill /F /FI """MODULES eq msys-2.0.dll"""; `