From 7090bfa4f11e0e6bb6ba1fb7472c0322aa5587b2 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 13 Mar 2020 15:08:37 +0000 Subject: [PATCH] Stop isn't necessary, `docker rm` will stop the container --- cibuildwheel/linux.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 64c16b6e..b4e00637 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -250,8 +250,6 @@ def build(project_dir, output_dir, test_command, before_test, test_requires, tes subprocess.run(['docker', 'cp', container_name + ':/output/.', os.path.abspath(output_dir)], check=True) - - subprocess.run(['docker', 'stop', container_name], check=True) except subprocess.CalledProcessError: exit(1) finally: