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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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