mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
5844736c14
This fix tries to address the inconsistency in #22036 where labels set on the command line will not override labels specified in Dockerfile, but will override labels inherited from `FROM` images. The fix add a LABEL with command line options at the end of the processed Dockerfile so that command line options labels always override the LABEL in Dockerfiles (or through `FROM`). An integration test has been added for test cases specified in #22036. This fix fixes #22036. NOTE: Some changes are from #22266 (@tiborvass). Signed-off-by: Yong Tang <yong.tang.github@outlook.com> |
||
---|---|---|
.. | ||
command | ||
parser | ||
bflag.go | ||
bflag_test.go | ||
builder.go | ||
dispatchers.go | ||
envVarTest | ||
evaluator.go | ||
evaluator_unix.go | ||
evaluator_windows.go | ||
internals.go | ||
shell_parser.go | ||
shell_parser_test.go | ||
support.go | ||
support_test.go | ||
wordsTest |