-
Notifications
You must be signed in to change notification settings - Fork 136
Package cache support in 3.0 #1046
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
Comments
This is a main thrust of dotnet/designs#50, using cleaner "packs":
For framework-dependent deployment, the SDK contains the targeting packs (ref) to build offline. (This is done in a more straightforward way than the package cache lzma that I expect will "just work" in the source-build context.)
For self-contained deployment, the design is currently pretty specific about the runtime packs needed for that being downloaded:
It would make sense IMO to provide an extra RPM package containing source-built runtime packs for self-contained deployment against the machine's own RID, installing them in the /cc @nguerrera |
This is great!!! So for building FDD .NET Core and ASP.NET Core, no nuget packages will have to be downloaded.
Makes sense to me as well. From Red Hat perspective, it's less important than improving the FDD case. @nguerrera https://github.com/dotnet/docs/blob/master/docs/core/build/distribution-packaging.md should be updated for the targeting packs. I'm interested in reviewing, or proposing an update to the document. |
@nguerrera reminder for the docs question. |
Not an issue for 3.0 |
I'm not sure what the state is of the package cache with 3.0?
When building .NET Core application with our source-build sdk containers images, a huge time is spent to download packages from nuget.org.
Is some improvement coming in this area for 3.0?
Maybe we can build some of these packages from source, and then include them in the image?
Or maybe this is handled in a different way (reference packs?)?
CC @dleeapho @crummel @dsplaisted @dagood @eerhardt @omajid @aslicerh
The text was updated successfully, but these errors were encountered: