potiuk commented on a change in pull request #21956:
URL: https://github.com/apache/airflow/pull/21956#discussion_r826972705



##########
File path: dev/breeze/src/airflow_breeze/breeze.py
##########
@@ -312,11 +314,156 @@ def build_ci_image(
 
 @option_verbose
 @main.command(name='build-prod-image')
-def build_prod_image(verbose: bool):
[email protected](
+    '--cleanup-docker-context-files', help='Preserves data volumes when 
stopping airflow.', is_flag=True
+)
[email protected]('--disable-mysql-client-installation', is_flag=True)
[email protected]('--disable-mssql-client-installation', is_flag=True)
[email protected]('--disable-postgres-client-installation', is_flag=True)
[email protected]('--disable-pip-cache', is_flag=True)
[email protected]('-t', '--install-airflow-reference')
[email protected]('-a', '--install-airflow-version', 
type=click.Choice(ALLOWED_INSTALL_AIRFLOW_VERSIONS))
[email protected]('-r', '--skip-rebuild-check', is_flag=True)
[email protected]('-L', '--build-cache-local', is_flag=True)
[email protected]('-U', '--build-cache-pulled', is_flag=True)
[email protected]('-X', '--build-cache-disabled', is_flag=True)
[email protected](
+    '--additional-extras',
+    help='This installs additional extra package while installing airflow in 
the image.',
+)
+@option_python_version
[email protected](
+    '--additional-dev-apt-deps', help='Additional apt dev dependencies to use 
when building the images.'
+)
[email protected](
+    '--additional-runtime-apt-deps',
+    help='Additional apt runtime dependencies to use when building the 
images.',
+)
[email protected](
+    '--additional-python-deps', help='Additional python dependencies to use 
when building the images.'
+)
[email protected](
+    '--additional_dev_apt_command', help='Additional command executed before 
dev apt deps are installed.'
+)
[email protected](
+    '--additional_runtime_apt_command',
+    help='Additional command executed before runtime apt deps are installed.',
+)
[email protected](
+    '--additional_dev_apt_env', help='Additional environment variables set 
when adding dev dependencies.'
+)
[email protected](
+    '--additional_runtime_apt_env',
+    help='Additional environment variables set when adding runtime 
dependencies.',
+)
[email protected]('--dev-apt-command', help='The basic command executed before dev 
apt deps are installed.')
[email protected](
+    '--dev-apt-deps',
+    help='The basic apt dev dependencies to use when building the images.',
+)
[email protected](
+    '--runtime-apt-command', help='The basic command executed before runtime 
apt deps are installed.'
+)
[email protected](
+    '--runtime-apt-deps',
+    help='The basic apt runtime dependencies to use when building the images.',
+)
[email protected]('-g', '--github-repository', help='Choose repository to 
push/pull image.')
[email protected]('--platform', help='Builds image for the platform specified.')
[email protected](
+    '-d',
+    '--debian-version',
+    help='Debian version used for the image.',
+    type=click.Choice(ALLOWED_DEBIAN_VERSIONS),
+)
[email protected]('--upgrade-to-newer-dependencies', is_flag=True)

Review comment:
       Let's add `--prepare-buildx-cache` as additional flag here :)




-- 
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]


Reply via email to