# Python Images

## Running Jobs

<table><thead><tr><th width="317">Package</th><th>Definition</th></tr></thead><tbody><tr><td>py-dynamic:dynamic</td><td>Base container for Python based jobs, installing a given Python library and running a specific module on start-up</td></tr><tr><td>py-dynamic:dynamic-media</td><td>Dynamic container with additional dependencies (e.g. ffmpeg) installed for py-media operations</td></tr><tr><td>py-dynamic:dynamic-java</td><td>Dynamic container with JDK installed for Java dependent operations (e.g. Spark)</td></tr><tr><td>py-dynamic:dynamic-java-hadoop</td><td>Dynamic container with Hadoop installed for file system dependent operations</td></tr></tbody></table>

{% hint style="info" %}
Additional versions of images are also applicable, combining media, java and hadoop (e.g. py-dynamic:dynamic-media-java-hadoop).
{% endhint %}

These images are accessible from "rierino-open" Docker repository and have the following environment variables used in their default command:

| Variable             | Description                                                                   | Example                           |
| -------------------- | ----------------------------------------------------------------------------- | --------------------------------- |
| GITHUB\_USER         | GitHub user to use for accessing Rierino Python packages                      | -                                 |
| GITHUB\_AUTH\_TOKEN  | GitHub token to use for accessing Rierino Python packages                     | -                                 |
| PY\_REPO             | Repository for loading main Rierino Python module                             | rierino-open/py-runner            |
| PY\_RIERINO\_VERSION | Version of main Rierino Python module to load                                 | 0.1.1                             |
| PY\_SCRIPT           | Additional script to execute (e.g. for loading extra libraries)               | /app/config/script.sh             |
| PY\_MAIN\_MODULE     | Main module & arguments to pas on to main Rierino Python module for execution | rierino\_util.Runner --base64 XXX |

{% hint style="info" %}
These environment variables are configured through Helm Chart parameters when the image is deployed using [Batch Charts](/installation/artifacts/helm-charts/batch-charts.md).
{% endhint %}

## Loader Jobs

<table><thead><tr><th width="317">Package</th><th>Definition</th></tr></thead><tbody><tr><td>py-loader:loader</td><td>Base container for Python based deployment assets loader, used during initial installations and version upgrades</td></tr><tr><td>py-loader:loader-core-train</td><td>Loader container with core and training deployment assets pre-downloaded</td></tr></tbody></table>

These images are accessible from "rierino-open" Docker repository and are typically used with Helm Charts during installation and version upgrades.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rierino.com/installation/artifacts/docker-repository/python-images.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
