According to the docs: “If a user specifies a build argument that was not defined in the Dockerfile, the build outputs a warning.”
However, it is not clear there what the value of an ARG is when there is no matching --build-arg
parameter.
Is it possible to turn missing parameters into errors? They seem to just result in empty variables.