python:{LOCAL_PYTHON_VERSION}-slim-bookworm.
LOCAL_PYTHON_VERSION represents the Python version in your current Python environment.
Functions can use any Python or system packages installed into their container images. Tensorlake provides a declarative API
to define function container images with their dependencies. When you deploy an application, the function container images
are automatically built as part of the deployment process.
How to define images
Tensorlake allows you to define your own function images with customized environments where the functions will run.1
Define your image
An image is defined using an
Image object. You can modify the base image, run commands to install dependencies at build time, and modify other image attributes, like its name.2
Set the image used to run the function