Addon default image
Deprecated | 0.56.0 |
Removal | April, 2025 |
References | #6311 |
Impacts all add-ons.
Addons are executed within an image that provides a Python environment and Animator in different versions.
Additional Python packages, if the requirement file is placed in backend/requirements.txt
, are automatically installed.
Since the introduction of .addon.yaml
as the new way to define how addons work,
addons can specify their own custom image and have full power over how to set up their environment.
The image provided by the application is deprecated and will be removed eventually. On removal, any addons which do not specify an image (see below) will fail and won’t be executed anymore.
There are two possible solutions:
- Global default image set on the runner
The Helm values provide a setting which can be used to set up a default image that all addons will use as long as they do not specify their own one. Adjustworker.runner.defaultImage
with the name of the image:worker: runner: defaultImage: python:3.10.13
- Update addons to specify an image to use
Any addon can set which image is used when it is being executed. It will take precedence over the default image defined on the runner. AdjustRequires that addons are already migrated to make use of the new.addon.yaml
specification.runner.actions.<action>.image
within.addon.yaml
:runner: actions: default: # identifier of the action image: python:3.10