def get_init_container(self,<EOL>init_command,<EOL>init_args,<EOL>env_vars,<EOL>context_mounts,<EOL>persistence_outputs,<EOL>persistence_data):
env_vars = to_list(env_vars, check_none=True)<EOL>env_vars += [<EOL>get_env_var(name=constants.CONFIG_MAP_JOB_INFO_KEY_NAME,<EOL>value=json.dumps(self.labels)),<EOL>]<EOL>return client.V1Container(<EOL>name=self.init_container_name,<EOL>image=self.init_docker_image,<EOL>image_pull_policy=self.init_docker_image_pull_policy,<EOL>command=init_command,<EOL>env=env_vars,<EOL>args=init_args,<EOL>volume_mounts=context_mounts)<EOL>
Pod init container for setting outputs path.