mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-26 01:34:01 +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...'; `
|
Write-Host 'Installing MSYS2...'; `
|
||||||
& $env:TEMP\msys2.sfx.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
|
& $env:TEMP\msys2.sfx.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
|
||||||
# sh --login -c 'pacman -Syuu --needed --noconfirm --ask=20'; `
|
bash -lc 'pacman -Syuu --needed --noconfirm --ask=20'; `
|
||||||
# sh --login -c 'pacman -Syu --noconfirm'; `
|
bash -lc 'pacman -Syu --noconfirm'; `
|
||||||
# sh --login -c 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; `
|
bash -lc 'pacman --sync --quiet --noconfirm mingw-w64-ucrt-x86_64-cmake'; `
|
||||||
compact /c /i /s:$env:SystemDrive\msys64 | Out-Null; `
|
compact /c /i /s:$env:SystemDrive\msys64 | Out-Null; `
|
||||||
`
|
`
|
||||||
Write-Host 'Verifying install ("sh --version") ...'; `
|
Write-Host 'Verifying install ("bash --version") ...'; `
|
||||||
sh.exe --version; `
|
bash --version; `
|
||||||
`
|
`
|
||||||
Write-Host ('{0} - Visual Studio components installing...' -f $(Get-Date -format 'u')); `
|
Write-Host ('{0} - Visual Studio components installing...' -f $(Get-Date -format 'u')); `
|
||||||
cmd /C start /w $env:TEMP\vs_buildtools.exe `
|
cmd /C start /w $env:TEMP\vs_buildtools.exe `
|
||||||
|
Loading…
Reference in New Issue
Block a user