You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2023/03/07 23:11:23 UTC
[airflow] 01/02: Update docker image python version to 3.7 in entrypoint doc (#29964)
This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 4d55a8339f7933bf2eded05040f235c57047f349
Author: Pierre Jeambrun <pi...@gmail.com>
AuthorDate: Tue Mar 7 23:37:34 2023 +0100
Update docker image python version to 3.7 in entrypoint doc (#29964)
(cherry picked from commit b4ddb9c79f8d43d981951b4b964663b600d99565)
---
docs/docker-stack/entrypoint.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/docker-stack/entrypoint.rst b/docs/docker-stack/entrypoint.rst
index 9122c28a1a..dd43f71dfe 100644
--- a/docs/docker-stack/entrypoint.rst
+++ b/docs/docker-stack/entrypoint.rst
@@ -132,7 +132,7 @@ if you specify extra arguments. For example:
.. code-block:: bash
- docker run -it apache/airflow:2.5.1-python3.6 bash -c "ls -la"
+ docker run -it apache/airflow:2.5.1-python3.7 bash -c "ls -la"
total 16
drwxr-xr-x 4 airflow root 4096 Jun 5 18:12 .
drwxr-xr-x 1 root root 4096 Jun 5 18:12 ..
@@ -144,7 +144,7 @@ you pass extra parameters. For example:
.. code-block:: bash
- > docker run -it apache/airflow:2.5.1-python3.6 python -c "print('test')"
+ > docker run -it apache/airflow:2.5.1-python3.7 python -c "print('test')"
test
If first argument equals to "airflow" - the rest of the arguments is treated as an airflow command
@@ -152,13 +152,13 @@ to execute. Example:
.. code-block:: bash
- docker run -it apache/airflow:2.5.1-python3.6 airflow webserver
+ docker run -it apache/airflow:2.5.1-python3.7 airflow webserver
If there are any other arguments - they are simply passed to the "airflow" command
.. code-block:: bash
- > docker run -it apache/airflow:2.5.1-python3.6 help
+ > docker run -it apache/airflow:2.5.1-python3.7 help
usage: airflow [-h] GROUP_OR_COMMAND ...
positional arguments: