Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13.1.0-alpine image size grew by 31% compared to 12.13.0-alpine #1154

Closed
wooque opened this issue Nov 14, 2019 · 5 comments
Closed

13.1.0-alpine image size grew by 31% compared to 12.13.0-alpine #1154

wooque opened this issue Nov 14, 2019 · 5 comments

Comments

@wooque
Copy link

wooque commented Nov 14, 2019

Image size as reported by docker images:
12.13.0-alpine: 80.1MB
13.1.0-alpine: 105MB
That's 25MB growth or 31%

@nschonni
Copy link
Member

I think that's probably because 13 is running alpine 3.10, and 12 is running alpine 3.9

@wooque
Copy link
Author

wooque commented Nov 14, 2019

I checked image sizes of bare alpine images and it doesn't look like 3.9->3.10 move is the cause. Image sizes as reported by docker images:
alpine 3.10.3: 5.55MB
alpine 3.9.4: 5.53MB

@nschonni
Copy link
Member

That's the only differences in the Dockerfiles though, unless something big changed in Node between 12 and 13.

@wooque
Copy link
Author

wooque commented Nov 14, 2019

I checked official Linux binaries and node binary grew by 22MB between 12.13.0 and 13.1.0. That's the culprit, nothing to do with Docker.

@wooque wooque closed this as completed Nov 14, 2019
@DRoet
Copy link

DRoet commented Nov 25, 2019

FYI: the size increase if probably due to full-ICU support in 13.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants