Default Docker Image for Python Script Tasks Updated to 3.13-slim
Python script tasks now use official python image
Kestra previously used a custom ghcr.io/kestra-io/kestrapy:latest image containing kestra and amazon-ion pip packages. The tasks now use the official python:3-13-slim image by default.
To maintain the previous behavior, add those packages using the dependencies property and they will be installed at runtime (and cached):
id: python_demonamespace: company.team
tasks: - id: python type: io.kestra.plugin.scripts.python.Script dependencies: - kestra - amazon-ion - requests script: | from kestra import Kestra import requests
response = requests.get('https://kestra.io') print(response.status_code)
Kestra.outputs({'status': response.status_code, 'text': response.text})Was this page helpful?