mhart / alpine-node

Minimal Node.js Docker Images built on Alpine Linux
MIT License
2.45k stars 303 forks source link

Newest version 14 image size #151

Closed kevinsimper closed 4 years ago

kevinsimper commented 4 years ago

Hi! Thanks for all the hard work!

I use the image and could not understand why 14 was sustainally bigger in size compared to previous versions.

That lead me down to https://github.com/nodejs/node/issues/6860 which then lead me to understand ICU.

14 now includes full-icu compared to before where small-icu was included only.

I am split between whether i want to have the full icu included in my small apps or not. Consistentsy is key, but the new image is much bigger.

mhart commented 4 years ago

You can exclude it if you like by compiling your own build, but I'm unlikely to include a separate version anytime soon given the overhead maintenance of it

kevinsimper commented 4 years ago

Make sense, it was also to notify other people looking into this 👍

It is a big chance going from 42 mb to 73 mb is a 73 % increase in size.