From 795c35cc7d45f41356972a840782220320b27ac9 Mon Sep 17 00:00:00 2001 From: Kulik Gabor Date: Fri, 19 Jan 2024 09:00:52 +0100 Subject: [PATCH] added GID and UID from env to docker compose system call --- poco/services/command_runners.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poco/services/command_runners.py b/poco/services/command_runners.py index b927bb6..5de2232 100644 --- a/poco/services/command_runners.py +++ b/poco/services/command_runners.py @@ -12,6 +12,8 @@ class AbstractPlanRunner(object): @staticmethod def run_script_with_check(cmd, working_directory, envs): + envs['GID']=os.environ.get('GID', '') + envs['UID']=os.environ.get('UID', '') res = check_call(" ".join(cmd), cwd=working_directory, env=envs, shell=True) if res > 0: ColorPrint.exit_after_print_messages(message=res)