Why should you care about Docker Images size ?
Basically, to speeds up building, deploying and also cut costs with storage and network e...
For further actions, you may consider blocking this person and/or reporting abuse
Another option to consider is DockerSlim... You get to keep a simple Dockerfile. No need for multi-stage and you don't need to worry about missing the certificates or any other extra dependencies.
Take a look at this example github.com/docker-slim/examples/tr...
The original container image is 648MB and it becomes 9.3MB after DockerSlim is done with it.
I saw the README.md from the DockerSlim project and it's super interesting. I'll definitely try it, thanks for sharing Kyle!
happy to do an overview to show some of its lesser known capabilities and its more advanced use case if you are interested
Be aware when using scratch that no SSL certificates are present in the image. You'll have to copy them in.
See stackoverflow.com/a/65298923
Good point Brandon, thanks!
You can google for Distroless. Many images in other languages are provided by Google. However, not yet Node.js.
I've never heard of this Image, thanks for sharing !
Lol, that is super cool, that image is minimal. Thanks for tuto.
Great Post - Also look at buildpacks.io/
Thank you Brian.
I'll take a look, thanks for sharing !
Awesome, will definitely apply these to my go apps