NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.18k stars 2.69k forks source link

why is the docker image that huge? #4027

Open hugofant opened 1 month ago

hugofant commented 1 month ago

Hi, i really like this application, but a look at my docker images showed a size of more than 1,1GB. Can't believe that this application is that complex - so, why is the image that huge?

kevintomsgithub commented 1 month ago
Screenshot 2024-09-29 at 14 36 03

I hope this helps clarify the factors contributing to the image size. Tool used: dive

shalafi99 commented 1 month ago

I think this has been discussed under #1141, with certbot being one item to tackle towards a reduction in image size (for v3).

hugofant commented 1 month ago

@shalafi99: thanks, you're right, thats the same subject...but discussion is nealy 2 1/2 years old, and there is still no V3 :-( Link to it brings a HTML error 404.

shalafi99 commented 1 month ago

Sorry, I missed what link you were referring to.

I am not involved with development of NPM, but I did notice commits keep being done to the v3 branch (link).

hugofant commented 1 month ago

i meant the link in the mentioned discussion, where jc21 wrote: ....A lot of this bloated stuff will be removed/replaced in v3 as it will be a go binary;

shalafi99 commented 1 month ago

i meant the link in the mentioned discussion, where jc21 wrote: ....A lot of this bloated stuff will be removed/replaced in v3 as it will be a go binary;

Thanks for clarifying, now I saw it.

@jc21, just curious - would you think there might be any usefulness at all to adjust that particular section (a link named 'v3' which points to a discussion 1202 which no longer exists) inside 1141, given its age?