You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The following comment regarding the scope of an
ARG
instruction in aDockerfile
:dockerfiles/ubuntu/Dockerfile
Lines 6 to 8 in 61b1fbf
Can be explained/answered with this part of the documentation in Dockerfile reference - Scope:
The text was updated successfully, but these errors were encountered: