dbvideostriketeam / wubloader

MIT License
15 stars 8 forks source link

Change Base Container to Speed Up Builds #364

Closed chrusher closed 8 months ago

chrusher commented 1 year 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 1 year ago

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

chrusher commented 1 year 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 1 year ago

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

ekimekim commented 1 year ago

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

chrusher commented 1 year ago

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

ekimekim commented 8 months ago

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