GitHub user potiuk added a comment to the discussion: Airflow Worker container 
is crashing with error  "ModuleNotFoundError: No module named 'postgresql'"

Generally speaking - slim image is really "bare base" that you should start 
adding things that you need - for example "Regular" image has both - mysql and 
postgres libraries, but the nature of images is that they are only additive. 
You cannot "subtract" things from them and make them smaller. So `slim` image 
is like a "bare-bones" airflow with **nothing** - just sqlite support (because 
it is built-in Python) - and you should add whatever you need on top of it. 
Recipes for extending the image are in the links above.

GitHub link: 
https://github.com/apache/airflow/discussions/38425#discussioncomment-14170876

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to