potiuk commented on issue #8605:
URL: https://github.com/apache/airflow/issues/8605#issuecomment-699655139


   @KimchaC FYI. I have just submitted #11176  PR that should make it possible 
to build even such complex images as you explained in  
https://github.com/apache/airflow/issues/8605#issuecomment-690065621 via 
passing appropriate build args. In fact I even made an example on how to build 
such image based on your example. 
   
   Thera are few more changes coming (we've implemented quite some extensions 
to the build process when working on a customer project and I am just 
contributing it back. The final version of the Dockerfile/Breeze/Docker build 
process we will come up with will produce super-optimized (for size) images, 
with very high customizability of all the components of the image building - in 
the way that you can even use it to build airflow image on an air-gapped 
system. 
   
   The nice thing about it, that the customer can fully rely on the Airlfow 
Dockerfile process and keep up with future changes and ad their own 
customisations as needed and have full control over the build process.
   
   This is all result of our project with really big customer who was very 
concerned about security of the images, binaries and the whole build process 
they had. At the end we we are going to have (I hope ) a super-flexible image 
that we can develop further that will be equally easy to use in CI/ OSS 
environment and a more strict corporate environment. A few more PRs are coming 
(we already have them in the customer's fork, but we are bringing them in 
one-by-one). Everything is under the #11171 umbrella.
   
   It woudl be great @KimchaC if you try it out with your setup, configuration, 
and maybe other customizations, and this way we could possibly implement 
anything that we missed. Looking forward to 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:
[email protected]


Reply via email to