I cannot get the ARGs in a dockerfile be populated for the life of me. Is this at all supported on the Windows platform?
My Docker file:
>type Dockerfile
FROM microsoft/nanoserver
ARG arg1
RUN echo "${arg1}"
My image build command:
docker image build -t argtest  . --build-arg arg1=ValueForArg1
and the results:
Sending build context to Docker daemon  2.048kB
Step 1/3 : FROM microsoft/nanoserver
 ---> a6688cd24441
Step 2/3 : ARG arg1
 ---> Using cache
 ---> 97770e203c82
Step 3/3 : RUN echo "${arg1}"
 ---> Running in ca6545d4bd0e
"${arg1}"
Removing intermediate container ca6545d4bd0e
 ---> c296d654afef
Successfully built c296d654afef
Successfully tagged argtest:latest
 
     
     
    