mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 15:53:35 +01:00
Updated build process for Zabbix agent (windows)
This commit is contained in:
parent
d9fbeff23c
commit
6cd97fc2c4
@ -146,13 +146,13 @@ 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'; `
|
||||
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'; `
|
||||
compact /c /i /s:$env:SystemDrive\msys64 | Out-Null; `
|
||||
`
|
||||
Write-Host 'Verifying install ("sh --version") ...'; `
|
||||
sh.exe --version; `
|
||||
Write-Host 'Verifying install ("bash --version") ...'; `
|
||||
bash --version; `
|
||||
`
|
||||
Write-Host ('{0} - Visual Studio components installing...' -f $(Get-Date -format 'u')); `
|
||||
cmd /C start /w $env:TEMP\vs_buildtools.exe `
|
||||
|
Loading…
Reference in New Issue
Block a user