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 2022/01/10 12:01:31 UTC

[GitHub] [airflow] potiuk edited a comment on pull request #20238: Optimize dockerfiles for local rebuilds

potiuk edited a comment on pull request #20238:
URL: https://github.com/apache/airflow/pull/20238#issuecomment-1008806195


   With this change I think I finally implemented an optimised sequence of layers for the CI image:
   
   1) Pre-install PYPI deps from main
   2) Install node deps if changed
   3) Install "current" PYPI deps if changed
   4) Compile www assets if asset files changed
   5) Copy sources from airflow
   
   This brings really optimized image building and witht the follow-up buildx #20258 change and build-kit --cache-from, it will be always minimum time needd to rebuilld exactly what needs to be rebuilt.


-- 
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: commits-unsubscribe@airflow.apache.org

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