Skip to content

Commit c502f5e

Browse files
authored
Merge pull request #11489 from coutinhop/pedro-CORE-12128
[CORE-12128] Fix PATH env var in calico-node Windows image
2 parents dc2ccc4 + 38ac169 commit c502f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/Dockerfile-windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ COPY windows-packaging/CalicoWindows/libs/hns/hns.psm1 /CalicoWindows/libs/hns/h
4242
COPY windows-packaging/nssm.exe /nssm.exe
4343
COPY windows-packaging/CalicoWindows/uninstall-calico-hpc.ps1 /uninstall-calico.ps1
4444

45-
ENV PATH=$PATH;/CalicoWindows
45+
ENV PATH="$PATH;C:\CalicoWindows;C:\Windows\System32;C:\Windows;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\PowerShell"
4646
WORKDIR /CalicoWindows
4747
# The nanoserver image does not have powershell but this works because
4848
# this container will be running on the host.

0 commit comments

Comments
 (0)