dotnetcore-buildpack
dotnetcore-buildpack copied to clipboard
Self contained dotnet + delete SDK to reduce slug size
Hi @jincod.
This is essentially a redo of PR #20, but improved a bit and base on the current master branch.
With it, I passed from a 304.9M slug (which causes Warning: Your slug size exceeds our soft limit (304 MB) which may affect boot time.
) to a 149M slug size!
This is useful, we have been running locally with this change for over a year to reduce container memory usage. This is inline with .NET Core 3.0 work of optimizing for running in limited memory containers.
@jincod Any update here? This would also be very beneficial for us!
Hi there,
Could you please share more info about why do you need self-contained? Is it about slug size?
Here my current state
@jincod Yes, this is for the slug size
@jincod do you mind sharing the status on merging this PR? It has been idling for a year now, and I was wondering whether it is going to be merged at all, and whether you already fixed it in another way (as your screenshot indicates?) :)
@dstj @WilliamWhispell @kiran94 do you know anything? Or do you use another publicly available buildpack that has a fix for this already? :)
@Zero3 I always use my fork, which I'm rebasing on master every time I need the new .NET Core version.