From 746c57a21c966e13caec8b51f1e137eba59f6276 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 3 Jun 2025 06:51:15 +0000 Subject: [PATCH] Optimized Windows build environment --- Dockerfiles/agent/windows/Dockerfile | 2 +- Dockerfiles/agent2/windows/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/agent/windows/Dockerfile b/Dockerfiles/agent/windows/Dockerfile index e02142c6c..7e9df14da 100644 --- a/Dockerfiles/agent/windows/Dockerfile +++ b/Dockerfiles/agent/windows/Dockerfile @@ -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\ diff --git a/Dockerfiles/agent2/windows/Dockerfile b/Dockerfiles/agent2/windows/Dockerfile index 3818c4f9c..ead74ac20 100644 --- a/Dockerfiles/agent2/windows/Dockerfile +++ b/Dockerfiles/agent2/windows/Dockerfile @@ -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\