Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a small python docker base image #145

Open
rainchen opened this issue Sep 29, 2019 · 0 comments
Open

use a small python docker base image #145

rainchen opened this issue Sep 29, 2019 · 0 comments

Comments

@rainchen
Copy link
Member

rainchen commented Sep 29, 2019

candidate list:

# ↪  docker-images-sort-by-size  | grep python | sort -k 2                                                                                              Sun Sep 29 09:46:01 CST 2019
# 923MB   python:3                                                          ad01f54ca3a9
# 143MB   python:3.7-slim                                                   338ae06dfca5
# 179MB   python:3.7-slim-buster                                            b5a7c089ece3
# 940MB   python:3.7-stretch                                                b9d77e48a75c
# 98.7MB  python:3.7-alpine                                                 39fb80313465
#    

Refs:

https://blog.realkinetic.com/building-minimal-docker-containers-for-python-applications-37d0272c52f3

https://pythonspeed.com/articles/base-image-python-docker-images/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant