sdk-container-builds icon indicating copy to clipboard operation
sdk-container-builds copied to clipboard

Infer/Assign relevant RIDs for the user

Open baronfel opened this issue 3 years ago • 2 comments

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.

baronfel avatar Aug 09 '22 20:08 baronfel