text: # Copyright 2022 Pants project contributors (see CONTRIBUTORS.md).
  # Licensed under the Apache License, Version 2.0 (see LICENSE).
  
  from pants.backend.codegen import export_codegen_goal
  from pants.backend.docker.goals.tailor import rules as tailor_rules
  from pants.backend.docker.rules import rules as docker_rules
  from pants.backend.docker.target_types import DockerImageTarget
  from pants.backend.python.util_rules.pex import rules as pex_rules
  
  
  def rules():
      return (
          *docker_rules(),
          *export_codegen_goal.rules(),
          *pex_rules(),
          *tailor_rules(),
      )
  
  
  def target_types():
      return (DockerImageTarget,)
  