support az acr build using dotnet publish -t:PublishContainer #27958
Labels
Auto-Assign
Auto assign by bot
Container Registry
az acr
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
wontfix
Related command
az acr build
Is your feature request related to a problem? Please describe.
It would be nice if the az acr build command would have a flag ie --dotnetPublish to support dockerfile less net8 build ... I am aware that chiseled and aot could be used if using the correct base images, but one advantage of dotnet publish -t:PublishContainer as I understand is to spare dockerfiles at all ... Also I want to point out that with my experiments of existing solutions the size of the locally build dotnet-publish images is much smaller than those with build with mcr.microsoft.com/dotnet/aspnet:8.0-jammy-chiseled
Describe the solution you'd like
Be able to run az acr build --image catalog-service:$tag --registry $acr --dotnetPublish with no dockerfile provided
Describe alternatives you've considered
Build localy and upload which is not really an alternative
Additional context
The text was updated successfully, but these errors were encountered: