Prepare for env variable usage on Windows containers

This commit is contained in:
Alexey Pustovalov 2024-12-27 18:09:47 +09:00
parent ec8a681966
commit 3295f2808b
2 changed files with 2 additions and 2 deletions

View File

@ -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; `

View File

@ -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\.; `
`