Stop isn't necessary, docker rm will stop the container
This commit is contained in:
@@ -250,8 +250,6 @@ def build(project_dir, output_dir, test_command, before_test, test_requires, tes
|
|||||||
subprocess.run(['docker', 'cp',
|
subprocess.run(['docker', 'cp',
|
||||||
container_name + ':/output/.',
|
container_name + ':/output/.',
|
||||||
os.path.abspath(output_dir)], check=True)
|
os.path.abspath(output_dir)], check=True)
|
||||||
|
|
||||||
subprocess.run(['docker', 'stop', container_name], check=True)
|
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
exit(1)
|
exit(1)
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user