Skip to content
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

support az acr build using dotnet publish -t:PublishContainer #27958

Closed
alexander-kastil opened this issue Dec 1, 2023 · 4 comments
Closed
Assignees
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

Comments

@alexander-kastil
Copy link

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

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Service Attention This issue is responsible by Azure service team. Container Registry az acr labels Dec 1, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 1, 2023

Thank you for opening this issue, we will look into it.

@Thomas365Online
Copy link

Support dockerfile less net8 build is a good idea and a nice feature!

@toddysm toddysm self-assigned this Jan 27, 2025
@toddysm
Copy link

toddysm commented Jan 27, 2025

This is a feature request for ACR Tasks and not a CLI specific issue. If this is still needed, I would suggest submitting the ask to https://github.com/Azure/acr/issues Closing this issue.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @toddysm, @luisdlp, @northtyphoon, @terencet-dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants