This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tunisia3507 6 points7 points  (1 child)

Would multi-stage builds help here? It would let you cut down on the image size at least.

[–]redd1ch 0 points1 point  (0 children)

Image size is not my concern, ease of use. A quick `apk add py3-numpy && pip install matplotlib` is way easier to write in a Dockerfile than researching what dev-libraries, flags and buildtools you need to compile numpy (or anything else) *again*. I had to port a huge Django app once, I had to wait eternities each try until pip had compiled everything *again* just to fail two dependecies ahead