mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-01-06 11:00:10 -06:00
cleanup docker containers after building
This commit is contained in:
@@ -20,7 +20,7 @@ build_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
if build_type == 'alpine' and 'IN_EGGS_BUILD_CONTAINER' not in os.environ:
|
||||
subprocess.run(
|
||||
['docker', 'run', '-i', '--mount', f'type=bind,src={cpp_dir},dst=/eggsfs', 'REDACTED', '/eggsfs/build.py', 'alpine'],
|
||||
['docker', 'run', '--rm', '-i', '--mount', f'type=bind,src={cpp_dir},dst=/eggsfs', 'REDACTED', '/eggsfs/build.py', 'alpine'],
|
||||
check=True,
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user