Is there a way to print ARG
s values, that are passed via the --build-arg
flags to a docker build
command?
Just using RUN echo $ARG_NAME
isn't enough since I want it to be printed before the FROM
section, where it's not allowed.
The point is to see these values immediately so I can stop the build quickly, preventing downloading the wrong base images.
Already searched docker docs and google. Maybe someone here can shed some light.