Page 1 of 1

which is the best Docker base image for Python application

PostPosted: 2020-03-24 18:01
by say_hello
i am tryin to build a Docker image for my Python-application,

if doing so and if building on top of an existing image— there are many possible choices. There are OS images like Ubuntu and CentOS, and there are the many different variants of the python base image. well i do not like Ubuntu - i stick to MX-Linux. Which one should i use? Which one is better? There are many choices, and it may not be obvious which is the best for my situation? So to make a choice that fits mxy needs is not so easy - here some thoughts accordingly.

I’ll go through some of the relevant criteria, and muse about some reasonable defaults that will work. what do you suggest !? especially in regard to those criterias below:

[list=]stability
security-updates
up to date dependencies
extensive dependencies
up to date python
small images[/list]

Re: which is the best Docker base image for Python applicati

PostPosted: 2020-03-27 08:51
by pylkko
I think the answer is: it depends.

What kind of application is it?

Re: which is the best Docker base image for Python applicati

PostPosted: 2020-03-27 08:57
by Head_on_a_Stick
say_hello wrote:i stick to MX-Linux

Then why are you posting here? :?

And why aren't you searching the interweb before posting?

Second result: https://pythonspeed.com/articles/base-i ... er-images/ ← the list of criteria in that blog post is *exactly* the same as your list. WTF? Are you taking the piss?