1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/dockerfile
Dennis Chen 7c0570473c Fix the target name issue for multi-stage build
This PR is trying to fix issue #36956.

The stage name is case-insensitive by design, so we should use
`strings.EqualFold()` as the comparison method to eliminate the
case sensitive noise.

Also we need to return a pre-defined error code order to avoid below
message like:
"FIXME: Got an API for which error does not match any expected type!!!:
failed to reach build target dev in Dockerfile"

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2018-05-01 10:28:40 +08:00
..
command Add canonical import comment 2018-02-05 16:51:57 -05:00
instructions Fix the target name issue for multi-stage build 2018-05-01 10:28:40 +08:00
parser Merge pull request #35089 from Microsoft/jjh/fromplatformbuilder 2018-03-26 14:17:49 -07:00
shell Automated migration using 2018-03-16 11:03:43 -04:00
buildargs.go Add canonical import comment 2018-02-05 16:51:57 -05:00
buildargs_test.go Post migration assertion fixes 2018-03-16 11:03:46 -04:00
builder.go Fix the target name issue for multi-stage build 2018-05-01 10:28:40 +08:00
builder_test.go Automated migration using 2018-03-16 11:03:43 -04:00
builder_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
builder_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
clientsession.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
containerbackend.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
copy.go builder: fix layer lifecycle leak 2018-02-20 11:14:53 -08:00
copy_test.go Automated migration using 2018-03-16 11:03:43 -04:00
copy_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
copy_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
dispatchers.go Builder: Review feedback 2018-03-19 14:29:36 -07:00
dispatchers_test.go Merge pull request #35089 from Microsoft/jjh/fromplatformbuilder 2018-03-26 14:17:49 -07:00
dispatchers_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
dispatchers_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
dispatchers_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
dispatchers_windows_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
evaluator.go Builder: Fix CI issues 2018-03-19 14:29:36 -07:00
evaluator_test.go Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
imagecontext.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
imageprobe.go Add canonical import comment 2018-02-05 16:51:57 -05:00
internals.go Builder: Fix CI issues 2018-03-19 14:29:36 -07:00
internals_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
internals_linux_test.go Automated migration using 2018-03-16 11:03:43 -04:00
internals_test.go Skip some tests requires root uid when run as user 2018-04-23 10:14:39 +02:00
internals_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
internals_windows_test.go Automated migration using 2018-03-16 11:03:43 -04:00
metrics.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mockbackend_test.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
utils_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00