sdk-container-builds
sdk-container-builds copied to clipboard
Infer/Assign relevant RIDs for the user
Right now, for the most efficient framework-dependent containers, a user has to enter a command like
dotnet publish -c Release --os linux --arch x64 -p:PublishProfile=DefaultContainer
manually specifying the OS and Arch (or, alternatively the entire RID via -r). In cases where we know something about the destination container (through inference?) is it possible to perform the build/publish cycle with a RID taken from that image's metadata?
Ideally, I'd like for the command dotnet publish -c Release -p:PublishProfile=DefaultContainer to have the same information as the command above.