Defining Images
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.Default Base Image
We use a Debian based imagepython:{LOCAL_PYTHON_VERSION}-slim-bookworm as the default.
LOCAL_PYTHON_VERSION represents the Python version in your current Python environment.
Private Base Images
If yourbase_image lives in a private container registry, Tensorlake authenticates the pull using your local Docker config
($DOCKER_CONFIG/config.json, default ~/.docker/config.json) — for example after docker login. Function images build through
the same path as sandbox images, so the setup is identical. See Private Registries for
supported auth types, CI setup, and the DOCKER_CONFIG scoping pattern.
See Also
Structured Extraction from Images
End-to-end example of using custom images for structured extraction from images.