code: def generate_dockerfile(
      docker: DockerOptions, context_path: str, *, use_conda: bool
  ):
      from ..bento import Bento
  
      bento = Bento.from_fs(fs.open_fs(context_path))
      logger.debug("'use_conda' is deprecated and will not be used.")
      return generate_containerfile(
          docker,
          bento.path,
          conda=bento.info.conda,
          bento_fs=bento._fs,
      )
  
imports: from __future__ import annotations
  import logging
  import warnings
  from typing import TYPE_CHECKING
  import fs
  from ..container.generate import generate_containerfile
label_desc: Use image node_id 1 for calling a global function with example usage: generate_dockerfile(docker, context_path) and returns: generate_containerfile