mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-19 17:38:43 +02:00
Updated build process for Zabbix agent (windows)
This commit is contained in:
parent
aa8fefb67b
commit
86350abd5c
@ -44,8 +44,8 @@ LABEL org.opencontainers.image.title="Zabbix agent 2 build base for Windows" `
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
RUN [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 msys2.exe; `
|
||||
& msys2.exe -y -oC:\; `
|
||||
Invoke-WebRequest -UseBasicParsing -uri "https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe" -OutFile C:\msys2.exe; `
|
||||
C:\msys2.exe -y -oC:\; `
|
||||
Remove-Item msys2.exe ; `
|
||||
function msys() { C:\msys64\usr\bin\bash.exe @('-lc') + @Args; } `
|
||||
msys ' '; `
|
||||
|
Loading…
x
Reference in New Issue
Block a user