From 778a04913953091a6b2262b94688ae26de6c7f81 Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Thu, 20 Mar 2025 18:35:18 +0300 Subject: [PATCH] fix v2 --- clr_test/docker-compose.yml | 2 ++ clr_test/run_test_docker_containers.py | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/clr_test/docker-compose.yml b/clr_test/docker-compose.yml index bd24ac4a0..2e90e0ab6 100644 --- a/clr_test/docker-compose.yml +++ b/clr_test/docker-compose.yml @@ -55,6 +55,8 @@ services: sftp: image: mirror.gcr.io/atmoz/sftp + security_opt: + - seccomp:unconfined volumes: - ./sftp_data:/home/user command: user:Aa111111:1001 diff --git a/clr_test/run_test_docker_containers.py b/clr_test/run_test_docker_containers.py index 3676b38ba..c4e9e82ae 100644 --- a/clr_test/run_test_docker_containers.py +++ b/clr_test/run_test_docker_containers.py @@ -25,9 +25,6 @@ def run_docker(folder_name: str) -> int: logging.info("Removing all clr_test-clearing_system containers") subprocess.call('docker rm -f $(docker ps --all -q --filter ancestor=clr_test-clearing_system)', shell=True) - logging.info("Removing all sftp containers") - subprocess.call('docker rm -f $(docker ps --all -q --filter ancestor=mirror.gcr.io/atmoz/sftp)', shell=True) - logging.info("Removing all clr_test-db images") subprocess.call('docker rmi -f clr_test-db', shell=True)