pause: remove obsolete Windows buildx workaround

The issue this workaround set out to address has been resolved in
buildx for some time; there is no longer a need to preserve it.

Signed-off-by: Bjorn Neergaard <bneergaard@mirantis.com>
This commit is contained in:
Bjorn Neergaard 2023-01-13 09:44:26 -07:00
parent 6ce055d62d
commit 31c7551947
No known key found for this signature in database

View File

@ -17,9 +17,4 @@ FROM ${BASE}
ARG ARCH
ADD bin/pause-windows-${ARCH}.exe /pause.exe
ADD bin/wincat-windows-amd64 /Windows/System32/wincat.exe
# NOTE(claudiub): docker buildx sets the PATH env variable to a Linux-like PATH,
# which is not desirable. See: https://github.com/moby/buildkit/issues/1560
# TODO(claudiub): remove this once the issue has been resolved.
ENV PATH="C:\Windows\system32;C:\Windows;"
ENTRYPOINT ["/pause.exe"]