File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN unzip cni.zip
1212
1313FROM $BASE
1414
15- ENV PATH="C:\Program Files\PowerShell ;C:\utils ;C:\Windows\system32;C:\Windows ;"
15+ ENV PATH="C:\Windows\system32 ;C:\Windows ;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;"
1616
1717COPY --from=bins /cni/CalicoWindows/cni/calico.exe /calico/cni/calico.exe
1818COPY --from=bins /cni/CalicoWindows/cni/calico-ipam.exe /calico/cni/calico-ipam.exe
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ RUN curl -LO https://raw.githubusercontent.com/microsoft/SDN/master/Kubernetes/w
1212
1313FROM $BASE
1414
15- ENV PATH="C:\P rogram Files \P owerShell ;C:\u tils ;C:\W indows \s ystem32;C: \W indows ;"
15+ ENV PATH="C:\W indows \s ystem32 ;C:\W indows ;C:\W INDOWS \S ystem32 \W indowsPowerShell \v 1.0 \ ; "
1616
17- Add start.ps1 /kube-proxy/start.ps1
17+ ADD start.ps1 /kube-proxy/start.ps1
1818COPY --from=bins /kube-proxy/kube-proxy.exe /kube-proxy/kube-proxy.exe
1919COPY --from=bins /kube-proxy/hns.psm1 /kube-proxy/hns.psm1
2020
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN unzip cni.zip
1212
1313FROM $BASE
1414
15- ENV PATH="C:\Program Files\PowerShell ;C:\utils ;C:\Windows\system32;C:\Windows ;"
15+ ENV PATH="C:\Windows\system32 ;C:\Windows ;C:\WINDOWS\System32\WindowsPowerShell\v1.0\ ;"
1616
1717WORKDIR /calico
1818COPY --from=bins /cni/CalicoWindows/calico-node.exe /calico
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN curl -Lo flanneld.exe https://github.com/coreos/flannel/releases/download/${
2626
2727FROM $BASE
2828
29- ENV PATH="C:\P rogram Files \P owerShell ;C:\u tils ;C:\W indows \s ystem32;C: \W indows ;"
29+ ENV PATH="C:\W indows \s ystem32 ;C:\W indows ;C:\W INDOWS \S ystem32 \W indowsPowerShell \v 1.0 \ ; "
3030
3131ADD https://raw.githubusercontent.com/microsoft/SDN/master/Kubernetes/windows/hns.psm1 /flannel/hns.psm1
3232COPY start.ps1 /flannel/start.ps1
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ RUN curl -LO https://raw.githubusercontent.com/microsoft/SDN/master/Kubernetes/w
1212
1313FROM $BASE
1414
15- ENV PATH="C:\P rogram Files \P owerShell ;C:\u tils ;C:\W indows \s ystem32;C: \W indows ;"
15+ ENV PATH="C:\W indows \s ystem32 ;C:\W indows ;C:\W INDOWS \S ystem32 \W indowsPowerShell \v 1.0 \ ; "
1616
17- Add start.ps1 /kube-proxy/start.ps1
17+ ADD start.ps1 /kube-proxy/start.ps1
1818COPY --from=bins /kube-proxy /kube-proxy
1919
2020ENTRYPOINT ["PowerShell" , "/c" , "$env:CONTAINER_SANDBOX_MOUNT_POINT/kube-proxy/start.ps1" ]
You can’t perform that action at this time.
0 commit comments