Unify docker usage in tests

This commit is contained in:
Ayaz Salikhov
2022-01-22 00:46:20 +02:00
parent 2fee7b754c
commit 12b618c5da
17 changed files with 104 additions and 146 deletions

View File

@@ -50,7 +50,7 @@ class CondaPackageHelper:
def start_container(container: TrackedContainer):
"""Start the TrackedContainer and return an instance of a running container"""
LOGGER.info(f"Starting container {container.image_name} ...")
return container.run(
return container.run_detached(
tty=True,
command=["start.sh", "bash", "-c", "sleep infinity"],
)