Skip to content

Host builder host and base image environment mismatch #2964

@matejvasek

Description

@matejvasek

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions