2020-07-30 23:36:58 +00:00
|
|
|
# Note this image doesn't really matter for hostprocess but it is good to build per OS version
|
|
|
|
# the files in the image are copied to $env:CONTAINER_SANDBOX_MOUNT_POINT on the host
|
|
|
|
# but the file system is the Host NOT the container
|
2024-05-11 21:06:22 +00:00
|
|
|
ARG BASE="mcr.microsoft.com/windows/nanoserver:ltsc2022"
|
2020-07-30 23:36:58 +00:00
|
|
|
FROM $BASE
|
|
|
|
|
|
|
|
ENV PATH="C:\Windows\system32;C:\Windows;"
|
|
|
|
COPY output/amd64/windows_exporter.exe /windows_exporter.exe
|
|
|
|
ENTRYPOINT ["windows_exporter.exe"]
|