ashb edited a comment on issue #7427: [AIRFLOW-XXXX] Prevent Docker 
cache-busting on when editing www templates
URL: https://github.com/apache/airflow/pull/7427#issuecomment-586635951
 
 
   Check the build output of 
https://travis-ci.com/ashb/airflow/builds/149111216 for what this would look 
like as if this commit was already in the image it pulls.
   
   Without this change this is where the cache is first busted (take from 
[master build 32642.1](https://travis-ci.org/apache/airflow/jobs/650832796), as 
my PR changes the Dockerfile so we can't compare the PR build of this)
   
   ```
   Step 81/108 : COPY airflow/version.py ${AIRFLOW_SOURCES}/airflow/version.py
    ---> Using cache
    ---> e50b587b66b7
   Step 82/108 : COPY airflow/__init__.py ${AIRFLOW_SOURCES}/airflow/__init__.py
    ---> d707e438f101
   ```
   
   With this change it's possible to get the entire docker image built without 
busting _any_ cache layers.

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


With regards,
Apache Git Services

Reply via email to