Optimized Windows build environment

This commit is contained in:
Alexey Pustovalov 2025-06-03 06:51:15 +00:00
parent ca3c3b4f26
commit b80d206205
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ LABEL org.opencontainers.image.title="Zabbix agent" `
org.opencontainers.image.source="${ZBX_SOURCES}"
COPY --from=builder ["C:\\zabbix-${ZBX_VERSION}-output", "C:\\zabbix"]
COPY --from=builder ["C:\\pwsh", "C:\\Program Files\\PowerShell"]
COPY --from=builder ["C:\\build_deps\\pwsh", "C:\\Program Files\\PowerShell"]
COPY [".\\docker-entrypoint.ps1", "C:\\zabbix"]
WORKDIR C:\zabbix\

View File

@ -31,7 +31,7 @@ LABEL org.opencontainers.image.title="Zabbix agent 2" `
org.opencontainers.image.source="${ZBX_SOURCES}"
COPY --from=builder ["C:\\zabbix-${ZBX_VERSION}-output", "C:\\zabbix"]
COPY --from=builder ["C:\\pwsh", "C:\\Program Files\\PowerShell"]
COPY --from=builder ["C:\\build_deps\\pwsh", "C:\\Program Files\\PowerShell"]
COPY [".\\docker-entrypoint.ps1", "C:\\zabbix"]
WORKDIR C:\zabbix\