From 9d7ad3bac17a174a85f6d9f4e20d04b2e65b8c66 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Thu, 29 Aug 2019 16:29:09 +0200 Subject: Add comment on native build and fix typo Signed-off-by: Ulysses Souza --- compose/service.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compose/service.py') diff --git a/compose/service.py b/compose/service.py index 987ba64f..55d2e9cd 100644 --- a/compose/service.py +++ b/compose/service.py @@ -1810,6 +1810,10 @@ class _CLIBuilder(object): image_id = line.split(":")[1].strip() os.remove(iidfile) + # In case of `DOCKER_BUILDKIT=1` + # there is no success message already present in the output. + # Since that's the way `Service::build` gets the `image_id` + # it has to be added `manually` if not appear: yield json.dumps({"stream": "{}{}\n".format(magic_word, image_id)}) -- cgit v1.2.3