Trying use built-in GIT

This commit is contained in:
Alexey Pustovalov 2024-02-07 15:52:32 +09:00
parent 8dc8d284c6
commit 8ecd1aafb9

View File

@ -25,6 +25,8 @@ LABEL org.opencontainers.image.title="Zabbix agent build (Windows)" `
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
ADD --keep-git-dir=true ${ZBX_SOURCES}#${GIT_BRANCH} $SystemDrive\zabbix-ZBX_VERSION
RUN Set-Location -Path $env:SystemDrive\.; `
`
Import-Module ('{0}\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll' -f ${env:ProgramFiles(x86)} ); `