def inject_config(self, config, from_args):
    """
    :param config:
    :type config: list
    :param from_args:
    :type from_args: dict
    """
    # First get required values from labelStore
    runtime = self._get_runtime()
    whitelist = self._get_whitelist()
    #Run introspection on the libraries to retrieve list of libraries to link
    found_libraries = self._run_introspection(runtime, whitelist, verbose=True)
    container_path_set=set()
    for library in found_libraries:

      #disallow duplicate library targets
      cpath = self.__get_container_path(library)
      if cpath in container_path_set:
        continue
      container_path_set.add(cpath)

      config.append('--volume={0}:{1}'.format(library, cpath))
    
    config.extend(['-e', 'LD_LIBRARY_PATH={0}'.format(_container_lib_location)])
    config.extend(['-e', 'LIBGL_DRIVERS_PATH={0}'.format(_container_lib_location)])
def inject_config ( self , config , from_args ) : runtime = self . _get_runtime ( ) whitelist = self . _get_whitelist ( ) found_libraries = self . _run_introspection ( runtime , whitelist , verbose = True ) container_path_set = set ( ) for library in found_libraries : cpath = self . __get_container_path ( library ) if cpath in container_path_set : continue container_path_set . add ( cpath ) config . append ( '--volume={0}:{1}' . format ( library , cpath ) ) config . extend ( [ '-e' , 'LD_LIBRARY_PATH={0}' . format ( _container_lib_location ) ] ) config . extend ( [ '-e' , 'LIBGL_DRIVERS_PATH={0}' . format ( _container_lib_location ) ] )
:param config:
    :type config: list
    :param from_args:
    :type from_args: dict