Closed me-kell closed 4 months ago
The following comment regarding the scope of an ARG instruction in a Dockerfile:
ARG
Dockerfile
https://github.com/pandoc/dockerfiles/blob/61b1fbf7355923f817b447301543d40316eea9c2/ubuntu/Dockerfile#L6-L8
Can be explained/answered with this part of the documentation in Dockerfile reference - Scope:
An ARG instruction goes out of scope at the end of the build stage where it was defined. To use an argument in multiple stages, each stage must include the ARG instruction.
Thanks, that's informative. Would you like to create a PR to update those docs?
The following comment regarding the scope of an
ARG
instruction in aDockerfile
:https://github.com/pandoc/dockerfiles/blob/61b1fbf7355923f817b447301543d40316eea9c2/ubuntu/Dockerfile#L6-L8
Can be explained/answered with this part of the documentation in Dockerfile reference - Scope: