Re:Using ARG in a Dockerfile – beware the gotcha
by hombre_fatal on Tuesday May 14, 2024 @05:03AM
(#40353077)
True, though gotchas exist when user intuition doesn't match with actual behavior regardless of whether they are mentioned in docs.
[ Parent
| on HN ]
Re:Using ARG in a Dockerfile – beware the gotcha
by chii on Tuesday May 14, 2024 @05:52AM
(#40353379)
Principle of least surprise.
If you need to write in the docs about a surprise that a user otherwise wouldn't have expected, may be it's a sign that the surprise should be fixed up such that it's not surprising behaviour.