landier commented on issue #8872:
URL: https://github.com/apache/airflow/issues/8872#issuecomment-714367018


   Hello,
   
   First, thanks for the response.
   
   We're currently actually extending the image exactly as your example however 
we're currently thinking of getting rid of some packages that are already 
installed (contribs mainly) hence we can try to identify each and every package 
and make sure we uninstall them but it sounds like something painful to do in 
the long run.
   
   That is why I thought of the ONBUILD in order to set AIRFLOW_EXTRAS with 
only what we need but you're right with the multistage build, this should 
happen on the build stage and not the final image stage.
   
   I get your point; it's actually quite similar to my thinking of having 
airflow in a submodule in order to use the official Dockerfile with my 
build-args. I'll think it over.
   


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