Host builder `host` and `base image` environment mismatch
When local builder creates an image it includes locally populated venv directory.
The directory contains files that depend on local environment.
For example local version of the standard C library or local version of Python
These artifact might not work within base image.
Example: somebody tried to build a function that uses numpy on Ubuntu 24.04.2 LTS, but the image would not work because of this mismatch (probably version of Python).
I am not sure how to mitigate this. We could build multiple base images with based on various distributions and various Python versions. The host builder then could choose the appropriate base-image by looking at local environment.
Thanks Matej.
Just to clarify the impact: This affects Functions which 1) have libraries with C dependencies and 2) are deploying using the Host builder and 3) have a differing version of Python from that used by the runtime image.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.