We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dcc53b + ad0c3ba commit 2700a9dCopy full SHA for 2700a9d
Dockerfile.Windows
@@ -1,6 +1,9 @@
1
-FROM mcr.microsoft.com/windows/servercore:1809 as core
+ARG BASE_IMAGE=servercore
2
+ARG BASE_IMAGE_TAG=1809
3
+ARG REGISTRY=mcr.microsoft.com/windows
4
-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}
7
LABEL description="CSI Liveness Probe"
8
9
COPY ./bin/livenessprobe.exe /livenessprobe.exe
0 commit comments