From 3295f2808b63e1f7584f360f20eb7314bebdaac0 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Fri, 27 Dec 2024 18:09:47 +0900 Subject: [PATCH] Prepare for env variable usage on Windows containers --- Dockerfiles/build-mysql/windows/Dockerfile.agent | 2 +- Dockerfiles/build-mysql/windows/Dockerfile.agent2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/build-mysql/windows/Dockerfile.agent b/Dockerfiles/build-mysql/windows/Dockerfile.agent index 61af5d8c7..bdd01d398 100644 --- a/Dockerfiles/build-mysql/windows/Dockerfile.agent +++ b/Dockerfiles/build-mysql/windows/Dockerfile.agent @@ -30,7 +30,7 @@ LABEL org.opencontainers.image.title="Zabbix agent build (Windows)" ` SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] -ADD config_templates C:\ +ADD config_templates C:\config_templates RUN Set-Location -Path $env:SystemDrive\.; ` dir C:\config_templates; ` diff --git a/Dockerfiles/build-mysql/windows/Dockerfile.agent2 b/Dockerfiles/build-mysql/windows/Dockerfile.agent2 index 12a57d0ab..ca5214b23 100644 --- a/Dockerfiles/build-mysql/windows/Dockerfile.agent2 +++ b/Dockerfiles/build-mysql/windows/Dockerfile.agent2 @@ -40,7 +40,7 @@ LABEL org.opencontainers.image.title="Zabbix agent 2 build (Windows)" ` org.opencontainers.image.version="${ZBX_VERSION}" ` org.opencontainers.image.source="${ZBX_SOURCES}" -ADD config_templates C:\ +ADD config_templates C:\config_templates RUN Set-Location -Path $env:SystemDrive\.; ` `