-
Notifications
You must be signed in to change notification settings - Fork 686
Emit dockerfile.v0 resource in manifest. #1059
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
Conversation
src/Aspire.Hosting/Extensions/ExecutableResourceBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
@ellismg and @rajeshkamal5050 for thoughts on this from the AZD perspective. |
Since we're making bigger API changes I think we should make more to set out selves up for a better future:
|
Added support for the dockerfile component to Aspir8 based on the above manifest entry. Will run through some tests over next few days - and follow this PR to see if there are any changes. Atm - i've implemented it using the ContainerRegistry setup during the |
Appreciate everything you are doing truly. You're making an awesome contribution to the project. |
It is ... check the ManifestPath property.
Not sure how I feel about this. If we go down this route I'll need to rework the callback methods (fine) but the very first thing I'll need to do on each of those callback methods is cast a non-generic |
I'm not sure it's super clear that the |
Yeah I struggle with this too. The |
You know what, I think I prefer that, or even |
I have a weakly held opinion that As is better than With in this case, but I don't want to introduce a new prefix unnecessarily. |
Yep I totally see your point and I could see us adopting the |
src/Aspire.Hosting/Extensions/ExecutableResourceBuilderExtensions.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: David Fowler <[email protected]>
Fixes #769
This PR adds an extension method to executable resource builders which flags that when emitted to the manifest they should be emitted as a
dockerfile.v0
resource.dockerfile.v0
Given the following code:
The following manifest snippet will be produced: