Should I use self-contained or framework-dependent publishing in Docker images?

added by DotNetKicks
12/15/2020 10:29:16 AM

885 Views

ASP.NET Core has two different publishing modes, framework-dependent and self-contained. In this post I compare the impact of the publishing mode on Docker image size. I compare an image published using both approaches and take into account the size of cached layers to decide which approach is the best for Docker images.


0 comments