unit icon indicating copy to clipboard operation
unit copied to clipboard

heavy python docker image since 1.22

Open raphaelauv opened this issue 3 years ago • 4 comments

https://hub.docker.com/r/nginx/unit/tags?page=1&name=python

1.27.0-python3.10 is 338.31 MB

where 1.21.0-python3.7 is 36.85 MB

would be great to have a slim image

Thanks

raphaelauv avatar Jun 21 '22 09:06 raphaelauv

The size change is due to us moving to Official Python docker images.

slim has the following clause in the description:

Unless you are working in an environment where only the python image will be deployed and you have space constraints, we highly recommend using the default image of this repository.

thresheek avatar Jun 21 '22 10:06 thresheek

See https://github.com/nginx/unit/issues/519 and https://github.com/nginx/unit/issues/622 too.

thresheek avatar Jun 21 '22 10:06 thresheek

okay , I see

a 1.27.0-python3.10-slim based on python3.10-slim would be great

raphaelauv avatar Jun 21 '22 10:06 raphaelauv

@raphaelauv currently, we are working on becoming an official docker package. Once that process has been finished, it will be a lot more easier to create those images. We will keep this issue open till that day and let you know as soon as we have any updates on this.

Thanks for reaching out! Appreciate it!

Cheers Timo

tippexs avatar Jun 29 '22 06:06 tippexs