Stop isn't necessary, docker rm will stop the container

This commit is contained in:
Joe Rickerby
2020-03-13 15:08:37 +00:00
parent 2db9d9a089
commit 7090bfa4f1
-2
View File
@@ -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: