Updated build process for Zabbix agent (windows)

This commit is contained in:
Alexey Pustovalov 2024-05-21 00:29:27 +09:00
parent ba1985f8d9
commit d9fbeff23c

View File

@ -146,9 +146,9 @@ RUN Set-Location -Path $env:SystemDrive\.; `
`
Write-Host 'Installing MSYS2...'; `
& $env:TEMP\msys2.sfx.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
sh --login -c 'pacman -Syuu --needed --noconfirm --ask=20'; `
sh --login -c 'pacman -Syu --noconfirm'; `
sh --login -c 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; `
# sh --login -c 'pacman -Syuu --needed --noconfirm --ask=20'; `
# sh --login -c 'pacman -Syu --noconfirm'; `
# sh --login -c 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; `
compact /c /i /s:$env:SystemDrive\msys64 | Out-Null; `
`
Write-Host 'Verifying install ("sh --version") ...'; `