which is the best Docker base image for Python application

Here you can discuss every aspect of Debian. Note: not for support requests!

which is the best Docker base image for Python application

Postby say_hello » 2020-03-24 18:01

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]
User avatar
say_hello
 
Posts: 17
Joined: 2019-10-13 09:58

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

Postby pylkko » 2020-03-27 08:51

I think the answer is: it depends.

What kind of application is it?
User avatar
pylkko
 
Posts: 1650
Joined: 2014-11-06 19:02

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

Postby Head_on_a_Stick » 2020-03-27 08:57

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?
User avatar
Head_on_a_Stick
 
Posts: 11453
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable