dockerfile-parse icon indicating copy to clipboard operation
dockerfile-parse copied to clipboard

Add support for updating global ARGs

Open MartinBasti opened this issue 3 years ago • 0 comments

ARGs defined before first FROM in dockerfile are considered to be global ARGs and can be inherited into stages.

https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact

An ARG declared before a FROM is outside of a build stage, so it can’t be used in any instruction after a FROM. To use the default value of an ARG declared before the first FROM use an ARG instruction without a value inside of a build stage

Add ability to list and update global ARGs

MartinBasti avatar Mar 17 '21 14:03 MartinBasti