From 20d4f16467470dda49a02557a7d47e10e32e9fd8 Mon Sep 17 00:00:00 2001 From: Ranvir Mohanlal Date: Tue, 22 Dec 2020 01:34:22 +0200 Subject: [PATCH] Added '-q' as a default docker build command to fix issue where 'eb local run' incorrectly parses last word of docker build stdout as image id to docker run - issue #53 --- ebcli/containers/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebcli/containers/commands.py b/ebcli/containers/commands.py index 4150a6494..76a5c4e5a 100644 --- a/ebcli/containers/commands.py +++ b/ebcli/containers/commands.py @@ -54,7 +54,7 @@ def build_img(docker_path, file_path=None): :return: str: id of the new image """ - opts = ['-f', file_path] if file_path else [] + opts = ['-q', '-f', file_path] if file_path else ['-q'] args = ['docker', 'build'] + opts + [docker_path] output = _run_live(args) return _grab_built_image_id(output)