-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Question: Why is node-slim not recommended? #26
Comments
+1 |
That part of the README needs to be reworded I think. The default image is built off of buildpack-deps:jessie. It's a much bigger image but has pretty much everything needed if you have Node modules that need to be compiled or if you need some kind of lib dependencies etc. If your app doesn't need to compile any modules or external dependencies than it should be fine. |
What other external dependencies are you thinking? |
I don't have anything particular in mind. It could be anything really, like if a module needs to compile something with gcc, or needs some kind of external lib or something |
Hi, Would you be willing to raise this as an issue here? https://github.com/docker-library/docs/issues I'd like to close this out in favour of that. The description for node:slim needs a bit of rewording. |
Sure. Done: docker-library/docs#299 |
The readme at the Docker hub notes about the slim package:
But when looking at the Dockerfile 0.10 slim it seems that it is perfectly suitable for runtime.
Note: Although Docker does a great deal of caching layers we like to promote smaller images since we see a lot of layer pushing around dev and production workflows.
The text was updated successfully, but these errors were encountered: