postmanlabs / httpbin

HTTP Request & Response Service, written in Python + Flask.
https://httpbin.org
ISC License
12.83k stars 1.82k forks source link

Question: Is there reason for not using smaller Alpine based python as base image for httpbin #692

Open madhub opened 1 year ago

madhub commented 1 year ago

Current httpbin docker uses ubuntu has base image, once it is built image size weigh approx 600 MB. Is there reason for not using smaller Alpine based python as base image,. Alpine base image with python3 & pips is only 52 MB

docker pull python:3.12.0a4-alpine3.17
MikeRalphson commented 1 year ago

Some reasons are discussed in this article https://pythonspeed.com/articles/alpine-docker-python/