dbvideostriketeam / wubloader

MIT License
14 stars 6 forks source link

Change Base Container to Speed Up Builds #364

Closed chrusher closed 6 months ago

chrusher commented 10 months ago

Under Alpine Linux, most third party Python packages have to be built rather than installed from a wheel. Switching to an different base container image would greatly speed up building.

dcollinsn commented 10 months ago

This may be as simple as running pip install --upgrade pip wheel before attempting to install any other python packages.

chrusher commented 10 months ago

Ekim would know better but I believe it has something to do with the fact Alpine uses musl rather than glibc as its C standard library.

ekimekim commented 10 months ago

In theory there should be wheels for musl (depending on the package). Will try upgrading pip and see if it helps.

ekimekim commented 10 months ago

This seems to have done the trick - but we might want to change container base anyway.

chrusher commented 10 months ago

How difficult would it be to roll our own? Would there be any advantage to doing so?

ekimekim commented 6 months ago

It seems we got the thing we wanted out of this - changing base image isn't really important otherwise.