Updated build process for Zabbix agent (windows)

This commit is contained in:
Alexey Pustovalov 2024-05-21 00:47:09 +09:00
parent 7c4877fa9b
commit 06cdbd2788

View File

@ -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"""; `