Trying use built-in GIT (removed)

This commit is contained in:
Alexey Pustovalov 2024-02-07 16:34:16 +09:00
parent 8ecd1aafb9
commit 9d98c71dfb

View File

@ -25,8 +25,6 @@ LABEL org.opencontainers.image.title="Zabbix agent build (Windows)" `
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] 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\.; ` RUN Set-Location -Path $env:SystemDrive\.; `
` `
Import-Module ('{0}\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll' -f ${env:ProgramFiles(x86)} ); ` Import-Module ('{0}\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\Microsoft.VisualStudio.DevShell.dll' -f ${env:ProgramFiles(x86)} ); `