mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-05-31 15:16:13 +02:00
Updated build process for Zabbix agent (windows)
This commit is contained in:
parent
3694c74812
commit
bb972404fb
@ -146,7 +146,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
|
|||||||
`
|
`
|
||||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
|
||||||
Invoke-WebRequest -UseBasicParsing -uri "https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe" -OutFile $env:SystemDrive\msys2.exe; `
|
Invoke-WebRequest -UseBasicParsing -uri "https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe" -OutFile $env:SystemDrive\msys2.exe; `
|
||||||
& $env:TEMP\msys2.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
|
& $env:SystemDrive\msys2.exe -y -o"""$env:SystemDrive\""" | Out-Null; `
|
||||||
Remove-Item $env:SystemDrive\msys2.exe ; `
|
Remove-Item $env:SystemDrive\msys2.exe ; `
|
||||||
function msys() { C:\msys64\usr\bin\bash.exe @('-lc') + @Args; }; `
|
function msys() { C:\msys64\usr\bin\bash.exe @('-lc') + @Args; }; `
|
||||||
msys ' '; `
|
msys ' '; `
|
||||||
|
Loading…
x
Reference in New Issue
Block a user