Skip to content

Commit

Permalink
Updated build procedure for Windows containers
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Jan 13, 2025
1 parent 9b2975f commit b10947d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfiles/agent/windows/docker-entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ function File-Process-From-Env {
)

if (![string]::IsNullOrEmpty($VarValue)) {
$VarValue | Set-Content "$ZabbixInternalEncDir\VarName"
$FileName="$ZabbixInternalEncDir\VarName"
$VarValue | Set-Content "$ZabbixInternalEncDir\$VarName"
$FileName="$ZabbixInternalEncDir\$VarName"
}

if (![string]::IsNullOrEmpty($FileName)) {
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/agent2/windows/docker-entrypoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ function File-Process-From-Env {
)

if (![string]::IsNullOrEmpty($VarValue)) {
$VarValue | Set-Content "$ZabbixInternalEncDir\VarName"
$FileName="$ZabbixInternalEncDir\VarName"
$VarValue | Set-Content "$ZabbixInternalEncDir\$VarName"
$FileName="$ZabbixInternalEncDir\$VarName"
}

if (![string]::IsNullOrEmpty($FileName)) {
Expand Down

0 comments on commit b10947d

Please sign in to comment.