shrink docker image
ModischFabrications opened this issue · comments
Robin Modisch commented
all comparisons use amd64. Check using docker image ls
old size (pre-multistage): 344 MB
new size (py3.7 builder, py3.7slim): 239 MB
new size (3.8): 287 MB
no idea what's wrong, might be because of complete copy of pip?
-slim base image has <100MB
Robin Modisch commented
https://hub.docker.com/_/python?tab=tags
slim ~60 MB
Robin Modisch commented
alright, compressed image on docker hub is 75 MB, I can live with that.