Skip to content

Commit ad0c3ba

Browse files
author
Qingchuan Hao
committed
Make windows dockerfile info configurable
1 parent 62f8ad9 commit ad0c3ba

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)