“Using Alpine can make Python Docker builds 50× slower”

The title could have been “pre-built binaries such as ‘wheels’ aren’t portable”, but that’s nothing new.

(HT to zimoun)


This Docker/pip/wheel story is a prime example of piling layer on top of layer, completely losing sight of the implications, just to eventually add another layer or two to address emerging problems.

Binary compatibility issues have been a concern since binaries came into existence and is rediscovered with the hacks of pip, CONDA, & co.

I was actually blissfully ignorant of the magnitude of the hack that wheels are until recently:

multi-stage builds are a hack to work around the fact that Docker is a terrible build system: unlike good’ol ‘make’, it can’t even distinguish between inputs and outputs.

Sign in to participate in the conversation
Mastodon (Aquilepouet)

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!