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


   > Hello! I'm using stable helm chart (image: 1.10.12-python3.6) and when I 
tried to install python-ldap using extraPipPackage I got following:
   > 
   > unable to execute 'gcc': No such file or directory
   > error: command 'gcc' failed with exit status 1
   > 
   > Of course I can rebuild image and fix this error but maybe you also can 
fix it from your side?
   
   The production image has no "build essentials" in order to limit the size of 
it. It is highly optimized for size (following the best practices of container 
images). 
   
   If you need to add any extra that requires gcc or any other compiled extras 
you need to customize the image rather than extend it. In your case, this means 
that you have to rebuild the image with ADDITIONAL_EXTRAS build arg added. You 
can read more about it in 
https://github.com/apache/airflow/blob/master/IMAGES.rst#customizing-the-image 
and watch my talk explaining how the image is built and what's the difference 
between customising and extending the image here: 
https://s.apache.org/airflow-prod-image
   
   


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


Reply via email to