Skip to content

Commit

Permalink
Add directory of wmic.exe to path as required by csi-proxy (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
laozc authored Feb 5, 2024
1 parent 1cb81a7 commit dcc7700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hostprocess/csi-proxy/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ RUN git clone https://github.com/kubernetes-csi/csi-proxy.git /go/csi-proxy &&\

FROM ${REGISTRY}/${WINDOWS_BASE_IMAGE}:${WINDOWS_VERSION}
COPY --from=builder /go/csi-proxy/bin/csi-proxy.exe /csi-proxy.exe
ENV PATH="C:\Windows\system32;C:\Windows;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;"
ENV PATH="C:\Windows\system32;C:\Windows;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\wbem;"
ENTRYPOINT ["csi-proxy.exe", "-v", "4"]

0 comments on commit dcc7700

Please sign in to comment.