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

Minimal images without npm and yarn #1080

Closed
SkeLLLa opened this issue Aug 2, 2019 · 2 comments
Closed

Minimal images without npm and yarn #1080

SkeLLLa opened this issue Aug 2, 2019 · 2 comments

Comments

@SkeLLLa
Copy link

SkeLLLa commented Aug 2, 2019

In many cases in production dependencies are installed either in CI/CD steps or in docker multi-staged builds. So having npm and yarn inside only increases image size.

For that cases it will be very nice to have such images. Probably even with statically linked build of node itself.

It could reduce image size by ~4-5 Mb that's ~15-20% of current alpine image size.

@nschonni
Copy link
Member

nschonni commented Aug 2, 2019

Duplicate of #404

@SkeLLLa
Copy link
Author

SkeLLLa commented Aug 2, 2019

Sorry, missed that while searching issues

@SkeLLLa SkeLLLa closed this as completed Aug 2, 2019
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

2 participants