Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From my own (limited) experience, a 25-minute build time seems pretty unusual for an Alpine image pulling in Python dependencies. The lack of wheel support on Alpine definitely seems like a compelling argument against using it for Python apps, but that build time indicates to me that some confounding factor might be at play here. Maybe matplotlib and/or pandas are just way bigger than the libraries I've pulled into Alpine images before? Curious to hear what others think.


Pandas and numpy (which all things data science depend on) require compilation of C/C++ code which comes in addition to the download/install steps. Wheel files can contain precompiled .so files.


Some of the libraries which can be very slow to install due to compilation that we've ended up building our own alpine-compatible wheels for:

Pillow PyXB cffi cryptography gevent lxml msgpack-python psycopg2 pycrypto uWSGI




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: