jedcunningham commented on a change in pull request #17409:
URL: https://github.com/apache/airflow/pull/17409#discussion_r682855059
##########
File path: docs/apache-airflow/start/docker.rst
##########
@@ -81,6 +81,18 @@ If you need install a new Python library or system library,
you can :doc:`build
.. _initializing_docker_compose_environment:
+Using custom images
+===================
+
+When you want to run Airflow locally, you might want to use extended image,
containing some additional dependencies - for
+example you might add new python packages, or upgrade airflow providers to a
later version. This can be done very easily
+by placing your custom Dockerfile. Then you can use `docker-compose build`
command to build your image (you need to
+do it only once) and you can also add `--build` to your `docker-compose`
commands with flag to rebuild the images
+on-the-fly when you run other `docker-compose` commands.
+
+The examples of how you can extend the image with custom providers, python
packages,
Review comment:
```suggestion
Examples of how you can extend the image with custom providers, python
packages,
```
##########
File path: docs/docker-stack/build.rst
##########
@@ -250,6 +250,19 @@ You should be aware, about a few things:
Examples of image extending
---------------------------
+Example of upgrading Airflow Provider packages
+..............................................
+
+The :ref:`Airflow Providers <providers:community-maintained-providers>` are
released independently of the main
Review comment:
```suggestion
The :ref:`Airflow Providers <providers:community-maintained-providers>` are
released independently of core
```
##########
File path: docs/apache-airflow/start/docker.rst
##########
@@ -81,6 +81,18 @@ If you need install a new Python library or system library,
you can :doc:`build
.. _initializing_docker_compose_environment:
+Using custom images
+===================
+
+When you want to run Airflow locally, you might want to use extended image,
containing some additional dependencies - for
Review comment:
```suggestion
When you want to run Airflow locally, you might want to use an extended
image, containing some additional dependencies - for
```
##########
File path: docs/apache-airflow/start/docker.rst
##########
@@ -81,6 +81,18 @@ If you need install a new Python library or system library,
you can :doc:`build
.. _initializing_docker_compose_environment:
+Using custom images
+===================
+
+When you want to run Airflow locally, you might want to use extended image,
containing some additional dependencies - for
+example you might add new python packages, or upgrade airflow providers to a
later version. This can be done very easily
+by placing your custom Dockerfile. Then you can use `docker-compose build`
command to build your image (you need to
+do it only once) and you can also add `--build` to your `docker-compose`
commands with flag to rebuild the images
Review comment:
```suggestion
do it only once). You can also add the `--build` flag to your
`docker-compose` commands to rebuild the images
```
##########
File path: docs/apache-airflow/start/docker.rst
##########
@@ -81,6 +81,18 @@ If you need install a new Python library or system library,
you can :doc:`build
.. _initializing_docker_compose_environment:
+Using custom images
+===================
+
+When you want to run Airflow locally, you might want to use extended image,
containing some additional dependencies - for
+example you might add new python packages, or upgrade airflow providers to a
later version. This can be done very easily
+by placing your custom Dockerfile. Then you can use `docker-compose build`
command to build your image (you need to
Review comment:
```suggestion
by placing a custom Dockerfile alongside your `docker-compose.yaml`. Then
you can use `docker-compose build` command to build your image (you need to
```
##########
File path: docs/docker-stack/build.rst
##########
@@ -250,6 +250,19 @@ You should be aware, about a few things:
Examples of image extending
---------------------------
+Example of upgrading Airflow Provider packages
+..............................................
+
+The :ref:`Airflow Providers <providers:community-maintained-providers>` are
released independently of the main
+Airflow and sometimes you might want to upgrade specific providers only to fix
some problems or
+use features available in that provider. Here is an example of how you can do
it
Review comment:
```suggestion
use features available in that provider version. Here is an example of how
you can do it
```
Maybe?
--
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]