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
Seems that we are missing a test that would check that ARG without default value would not be defined in the environment variables of RUN steps at all (instead of showing up with empty value).
In a Dockerfile like
FROM alpine
ARG FOO
ARG BAR=
RUN env && stop
The env output should show only BAR= and no FOO= .
The text was updated successfully, but these errors were encountered:
Follow-up for #4897 (comment)
Seems that we are missing a test that would check that
ARG
without default value would not be defined in the environment variables ofRUN
steps at all (instead of showing up with empty value).In a Dockerfile like
The env output should show only
BAR=
and noFOO=
.The text was updated successfully, but these errors were encountered: