python:{LOCAL_PYTHON_VERSION}-slim-bookworm
with LOCAL_PYTHON_VERSION
being Python version from the current Python environment.
Functions can depend on any Python or system packages installed into their container images. We provide declarative APIs
to define function container images with the dependencies. When you deploy a graph, the function container images
are automatically built as part of the deploy process.
Image
object and specify the name of the image. We then run commands to install the dependencies.
You can use any base image, the default being python:{LOCAL_PYTHON_VERSION}-slim-bookworm
.
image
object. This tells Tensorlake to run the function in the specified image.