Task software environment

The @union.task decorator provides the following parameters to specify the software environment in which a task runs:

  • container_image: Can be either a string referencing a specific image on a container repository, or an ImageSpec defining a build. See ImageSpec for details.
  • environment: See Environment for details.