You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/25 14:27:17 UTC

[GitHub] [airflow] ecerulm opened a new issue #14460: breeze: build-image output docker build parameters to be used in scripts

ecerulm opened a new issue #14460:
URL: https://github.com/apache/airflow/issues/14460


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the following questions.
   Don't worry if they're not all applicable; just try to include what you can :-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   **Description**
   
   I would like to see a `--print-docker-args` option for `breeze build-image`
   
   **Use case / motivation**
   
   `breeze build-image --production-image --additional-extras microsoft.mssql --print-docker-args` should print something like
   
   ```--build-arg XXXX=YYYY --build-arg WWW=ZZZZ```
   
   I would like to use that output in a script so that I can use `kaniko-executor` to build the image instead of `docker build` .  
   
   <!-- What do you want to happen?
   
   Rather than telling us how you might implement this solution, try to take a
   step back and describe what you are trying to achieve.
   
   -->
   
   **Are you willing to submit a PR?**
   
   <!--- We accept contributions! -->
   
   **Related Issues**
   
   <!-- Is there currently another issue associated with this? -->
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ecerulm commented on issue #14460: breeze: build-image output docker build parameters to be used in scripts

Posted by GitBox <gi...@apache.org>.
ecerulm commented on issue #14460:
URL: https://github.com/apache/airflow/issues/14460#issuecomment-785981173


   but that actually builds the image, I just want to get the `--build-arg` parameters . I think maybe it's a matter of adding a `--dry-run` parameter then.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #14460: breeze: build-image output docker build parameters to be used in scripts

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #14460:
URL: https://github.com/apache/airflow/issues/14460


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #14460: breeze: build-image output docker build parameters to be used in scripts

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #14460:
URL: https://github.com/apache/airflow/issues/14460#issuecomment-785967201


   It's already implemented. Just use --verbose flag.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #14460: breeze: build-image output docker build parameters to be used in scripts

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #14460:
URL: https://github.com/apache/airflow/issues/14460


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #14460: breeze: build-image output docker build parameters to be used in scripts

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #14460:
URL: https://github.com/apache/airflow/issues/14460#issuecomment-785984440


   Ah ok. Yeah. Dry run sounds good.
   
   Maybe you would like to contribute it :) 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org