Loading lib/galaxy/jobs/runners/__init__.py +1 −3 Original line number Diff line number Diff line Loading @@ -535,9 +535,7 @@ class BaseJobRunner: if set_user: destination_info["set_host_user"] = username if env_var: if job_wrapper.job_destination.env is None: job_wrapper.job_destination.env = [] job_wrapper.job_destination.env.append({'name': env_var, 'value': username}) destination_info["pass_host_user_to_env"] = env_var + "=" + username return Loading lib/galaxy/tool_util/deps/container_classes.py +3 −1 Original line number Diff line number Diff line Loading @@ -470,7 +470,9 @@ class DockerContainer(Container, HasDockerLikeVolumes): run_extra_arguments = run_extra_arguments + " $GROUPADD" else: run_extra_arguments = "$GROUPADD" pass_host_user_to_env = self.destination_info.get("pass_host_user_to_env", None) if pass_host_user_to_env: env_directives.append(pass_host_user_to_env) run_command = docker_util.build_docker_run_command( command, self.container_id, Loading Loading
lib/galaxy/jobs/runners/__init__.py +1 −3 Original line number Diff line number Diff line Loading @@ -535,9 +535,7 @@ class BaseJobRunner: if set_user: destination_info["set_host_user"] = username if env_var: if job_wrapper.job_destination.env is None: job_wrapper.job_destination.env = [] job_wrapper.job_destination.env.append({'name': env_var, 'value': username}) destination_info["pass_host_user_to_env"] = env_var + "=" + username return Loading
lib/galaxy/tool_util/deps/container_classes.py +3 −1 Original line number Diff line number Diff line Loading @@ -470,7 +470,9 @@ class DockerContainer(Container, HasDockerLikeVolumes): run_extra_arguments = run_extra_arguments + " $GROUPADD" else: run_extra_arguments = "$GROUPADD" pass_host_user_to_env = self.destination_info.get("pass_host_user_to_env", None) if pass_host_user_to_env: env_directives.append(pass_host_user_to_env) run_command = docker_util.build_docker_run_command( command, self.container_id, Loading