mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-10 23:09:36 +01:00
Prepare for env variable usage on Windows containers
This commit is contained in:
parent
ec8a681966
commit
3295f2808b
@ -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; `
|
||||
|
@ -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\.; `
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user