potiuk commented on code in PR #43205: URL: https://github.com/apache/airflow/pull/43205#discussion_r1808531809
##########
dev/breeze/doc/ci/02_images.md:
##########
@@ -421,36 +421,39 @@ DOCKER_BUILDKIT=1 docker build . -f Dockerfile.ci \
The following build arguments (`--build-arg` in docker build command)
can be used for CI images:
-| Build argument | Default value
| Description
|
-|-----------------------------------|-------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
-| `PYTHON_BASE_IMAGE` | `python:3.9-slim-bookworm`
| Base Python image
|
-| `PYTHON_MAJOR_MINOR_VERSION` | `3.9`
| major/minor version of Python (should match
base image)
|
-| `DEPENDENCIES_EPOCH_NUMBER` | `2`
| increasing this number will reinstall all apt
dependencies
|
-| `ADDITIONAL_PIP_INSTALL_FLAGS` |
| additional `pip` flags passed to the
installation commands (except when reinstalling `pip` itself)
|
-| `PIP_NO_CACHE_DIR` | `true`
| if true, then no pip cache will be stored
|
-| `UV_NO_CACHE` | `true`
| if true, then no uv cache will be stored
|
-| `HOME` | `/root`
| Home directory of the root user (CI image has
root user as default)
|
-| `AIRFLOW_HOME` | `/root/airflow`
| Airflow's HOME (that's where logs and sqlite
databases are stored)
|
-| `AIRFLOW_SOURCES` | `/opt/airflow`
| Mounted sources of Airflow
|
-| `AIRFLOW_REPO` | `apache/airflow`
| the repository from which PIP dependencies are
pre-installed
|
-| `AIRFLOW_BRANCH` | `main`
| the branch from which PIP dependencies are
pre-installed
|
-| `AIRFLOW_CI_BUILD_EPOCH` | `1`
| increasing this value will reinstall PIP
dependencies from the repository from scratch
|
-| `AIRFLOW_CONSTRAINTS_LOCATION` |
| If not empty, it will override the source of
the constraints with the specified URL or file.
|
-| `AIRFLOW_CONSTRAINTS_REFERENCE` |
| reference (branch or tag) from GitHub
repository from which constraints are used. By default it is set to
`constraints-main` but can be `constraints-2-X`. |
-| `AIRFLOW_EXTRAS` | `all`
| extras to install
|
-| `UPGRADE_INVALIDATION_STRING` |
| If set to any random value the dependencies
are upgraded to newer versions. In CI it is set to build id.
|
-| `AIRFLOW_PRE_CACHED_PIP_PACKAGES` | `true`
| Allows to pre-cache airflow PIP packages from
the GitHub of Apache Airflow This allows to optimize iterations for Image
builds and speeds up CI jobs. |
-| `ADDITIONAL_AIRFLOW_EXTRAS` |
| additional extras to install
|
-| `ADDITIONAL_PYTHON_DEPS` |
| additional Python dependencies to install
|
-| `DEV_APT_COMMAND` |
| Dev apt command executed before dev deps are
installed in the first part of image
|
-| `ADDITIONAL_DEV_APT_COMMAND` |
| Additional Dev apt command executed before dev
dep are installed in the first part of the image
|
-| `DEV_APT_DEPS` | Empty - install default dependencies
(see `install_os_dependencies.sh`) | Dev APT dependencies installed in the
first part of the image
|
-| `ADDITIONAL_DEV_APT_DEPS` |
| Additional apt dev dependencies installed in
the first part of the image
|
-| `ADDITIONAL_DEV_APT_ENV` |
| Additional env variables defined when
installing dev deps
|
-| `AIRFLOW_PIP_VERSION` | `24.2`
| PIP version used.
|
-| `AIRFLOW_UV_VERSION` | `0.4.24`
| UV version used.
|
-| `AIRFLOW_USE_UV` | `true`
| Whether to use UV for installation.
|
-| `PIP_PROGRESS_BAR` | `on`
| Progress bar for PIP installation
|
+| Build argument | Default value | Description
|
+|-----------------------------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| `PYTHON_BASE_IMAGE` | `python:3.9-slim-bookworm` | Base Python
image
|
+| `PYTHON_MAJOR_MINOR_VERSION` | `3.9` | major/minor
version of Python (should match base image)
|
+| `DEPENDENCIES_EPOCH_NUMBER` | `2` | increasing
this number will reinstall all apt dependencies
|
+| `ADDITIONAL_PIP_INSTALL_FLAGS` | | additional
`pip` flags passed to the installation commands (except when reinstalling `pip`
itself) |
+| `PIP_NO_CACHE_DIR` | `true` | if true,
then no pip cache will be stored
|
+| `UV_NO_CACHE` | `true` | if true,
then no uv cache will be stored
|
+| `HOME` | `/root` | Home
directory of the root user (CI image has root user as default)
|
+| `AIRFLOW_HOME` | `/root/airflow` | Airflow's
HOME (that's where logs and sqlite databases are stored)
|
+| `AIRFLOW_SOURCES` | `/opt/airflow` | Mounted
sources of Airflow
|
+| `AIRFLOW_REPO` | `apache/airflow` | the
repository from which PIP dependencies are pre-installed
|
+| `AIRFLOW_BRANCH` | `main` | the branch
from which PIP dependencies are pre-installed
|
+| `AIRFLOW_CI_BUILD_EPOCH` | `1` | increasing
this value will reinstall PIP dependencies from the repository from scratch
|
+| `AIRFLOW_CONSTRAINTS_LOCATION` | | If not
empty, it will override the source of the constraints with the specified URL or
file. |
+| `AIRFLOW_CONSTRAINTS_REFERENCE` | | reference
(branch or tag) from GitHub repository from which constraints are used. By
default it is set to `constraints-main` but can be `constraints-2-X`. |
+| `AIRFLOW_EXTRAS` | `all` | extras to
install
|
+| `UPGRADE_INVALIDATION_STRING` | | If set to
any random value the dependencies are upgraded to newer versions. In CI it is
set to build id. |
+| `AIRFLOW_PRE_CACHED_PIP_PACKAGES` | `true` | Allows to
pre-cache airflow PIP packages from the GitHub of Apache Airflow This allows to
optimize iterations for Image builds and speeds up CI jobs. |
+| `ADDITIONAL_AIRFLOW_EXTRAS` | | additional
extras to install
|
+| `ADDITIONAL_PYTHON_DEPS` | | additional
Python dependencies to install
|
+| `DEV_APT_COMMAND` | | Dev apt
command executed before dev deps are installed in the first part of image
|
+| `ADDITIONAL_DEV_APT_COMMAND` | | Additional
Dev apt command executed before dev dep are installed in the first part of the
image |
+| `DEV_APT_DEPS` | | Dev APT
dependencies installed in the first part of the image (default empty means
default dependencies are used) |
+| `ADDITIONAL_DEV_APT_DEPS` | | Additional
apt dev dependencies installed in the first part of the image
|
+| `ADDITIONAL_DEV_APT_ENV` | | Additional
env variables defined when installing dev deps
|
+| `AIRFLOW_PIP_VERSION` | `24.2` | PIP version
used.
|
+| `AIRFLOW_UV_VERSION` | `0.4.24` | UV version
used.
|
+| `AIRFLOW_USE_UV` | `true` | Whether to
use UV for installation.
|
+| `PIP_PROGRESS_BAR` | `on` | Progress
bar for PIP installation
|
+
+
+The"
Review Comment:
Fix in https://github.com/apache/airflow/pull/43212
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
