From 501cffa10aa9a10c68884c5b05466ece87195d5d Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 21 May 2024 01:43:05 +0900 Subject: [PATCH] Updated build process for Zabbix agent (windows) --- Dockerfiles/build-base/windows/Dockerfile.agent2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfiles/build-base/windows/Dockerfile.agent2 b/Dockerfiles/build-base/windows/Dockerfile.agent2 index 736b77c4e..47952b5c6 100644 --- a/Dockerfiles/build-base/windows/Dockerfile.agent2 +++ b/Dockerfiles/build-base/windows/Dockerfile.agent2 @@ -145,12 +145,13 @@ RUN Set-Location -Path $env:SystemDrive\.; ` ` Write-Host 'Installing MSYS2...'; ` & $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 --noconfirm -Syuu'; ` bash -lc 'pacman --noconfirm -Syuu'; ` -# bash -lc 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; ` + bash -lc 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; ` bash -lc 'pacman --noconfirm -Scc'; ` + bash -lc 'rm -rf /usr/share/info/ /usr/share/zoneinfo/ /usr/share/locale/ /usr/share/man/ /usr/lib/terminfo/'; ` + bash -lc 'rm -rf /usr/share/doc/ /ucrt64/share/doc /ucrt64/share/man /ucrt64/share/info /ucrt64/share/oneinfo /ucrt64/share/zoneinfo /ucrt64/share/locale'; ` + bash -lc 'rm -rf /usr/share/bash-completion/ /usr/share/terminfo/ ` Write-Host 'Verifying install ("bash --version") ...'; ` bash --version; `