potiuk commented on pull request #21145:
URL: https://github.com/apache/airflow/pull/21145#issuecomment-1038196785


   Note! We cannot "blank" remove all the files in airflow directory, becuase
   it can take a very long time when the users develops Airlfow. When you 
develop
   and run airflow locally, there are a lot of files created and generated -
   log files, build artifacts, but also node modules (a loooot of files) and
   generated static files. Those files are not needed/used in the Docker build
   (we make sure of that by removing all files by default and only selectively
   adding files that we need). On a number of systems (especialy those where
   the filesystem is mounted to docker container via user filesystem - MacOS
   or Windows) just changing permission of all those files can change tens of
   seconds - so instead we opted to change only permissions of those files
   that are added to Git.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to