Skip to content

Commit 2700a9d

Browse files
authored
Merge pull request #78 from mainred/windows-2004-dockfile
Windows 2004 dockfile
2 parents 1dcc53b + ad0c3ba commit 2700a9d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile.Windows

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
FROM mcr.microsoft.com/windows/servercore:1809 as core
1+
ARG BASE_IMAGE=servercore
2+
ARG BASE_IMAGE_TAG=1809
3+
ARG REGISTRY=mcr.microsoft.com/windows
24

3-
FROM mcr.microsoft.com/windows/nanoserver:1809
5+
FROM ${REGISTRY}/${BASE_IMAGE}:${BASE_IMAGE_TAG} as core
6+
FROM mcr.microsoft.com/windows/nanoserver:${BASE_IMAGE_TAG}
47
LABEL description="CSI Liveness Probe"
58

69
COPY ./bin/livenessprobe.exe /livenessprobe.exe

0 commit comments

Comments
 (0)