From 0b5faafaa295f2c2ca7f519bca677f50083fa426 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 16 Dec 2024 18:35:49 +0000 Subject: [PATCH] Adding pruning of old images. --- packages/backend-core/tests/core/utilities/testContainerUtils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend-core/tests/core/utilities/testContainerUtils.ts b/packages/backend-core/tests/core/utilities/testContainerUtils.ts index bf0cb5228d..b17cc2ea57 100644 --- a/packages/backend-core/tests/core/utilities/testContainerUtils.ts +++ b/packages/backend-core/tests/core/utilities/testContainerUtils.ts @@ -39,6 +39,7 @@ function getTestcontainers(): ContainerInfo[] { function removeContainer(container: ContainerInfo) { execSync(`docker rm -f ${container.ID}`) + execSync(`docker system prune -f`) } export function getContainerByImage(image: string) {