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
Do not refer to an environment variable within the same ENV statement where it is defined.
Problematic code:
ENV FOO=bar \
BAZ=${FOO}/bla
Correct code:
ENV FOO=bar
ENV BAZ=${FOO}/bla
Rationale:
Docker will not expand a variable within the same ENV statement where it is defined. While it will not crash Docker, it carries a high likelihood of errors.