def METHOD_NAME(self) -> None:
    """Builds function from scratch and assigns the image name"""
    builder = ApplicationBuilder(
        self._build_context.collect_build_resources(self._function_identifier),
        self._build_context.build_dir,
        self._build_context.base_dir,
        self._build_context.cache_dir,
        cached=False,
        is_building_specific_resource=True,
        manifest_path_override=self._build_context.manifest_path_override,
        container_manager=self._build_context.container_manager,
        mode=self._build_context.mode,
        build_in_source=self._build_context.build_in_source,
    )
    self._image_name = builder.build().artifacts.get(self._function_identifier)