potiuk commented on issue #15495: URL: https://github.com/apache/airflow/issues/15495#issuecomment-825468704
You should not switch to the root user when you are installing PIP packages. You only need that if you want to install additional `apt` level dependencies. Please take a look at the latest (released with 2.0.2) documentation about building the images where you have all necessary examples and explanations: https://airflow.apache.org/docs/docker-stack/build.html -- 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]
