Skip to content

[release/8.0.4xx] Manual Backport of #40611 to 8.0.4xx - Allow users to set a specific ContainerImageFormat to force OCI support #46140

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

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Jan 20, 2025

Backport of #46011 to release/8.0.4xx

Description

This change allows users to explicitly request a specific format of Container (Docker or OCI) instead of relying on our existing "same as the base image" strategy. This need to explicitly override the base image's format comes from an internal partner request, where that partner needs OCI outputs only, but the .NET Container images are in Docker format for now and the forseeable future.

Customer Impact

With this change, a user that opts into the new behavior will have explicit control over their generated container's format. A customer that doesn't interact with the feature keeps the same behavior as prior versions.

Regression

No

Risk

Low - we have the needed conversion/schema functionality in the tooling already, this just surfaces a user-facing knob. We also have automated tests added to verify the feature.

@baronfel baronfel requested a review from a team as a code owner January 20, 2025 17:05
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Jan 20, 2025
@baronfel baronfel changed the title [release/8.0.4xx] Manul Backport of #40611 to 8.0.4xx - Allow users to set a specific ContainerImageFormat to force OCI support [release/8.0.4xx] Manual Backport of #40611 to 8.0.4xx - Allow users to set a specific ContainerImageFormat to force OCI support Jan 20, 2025
@baronfel baronfel added Servicing-consider Area-Containers Related to dotnet SDK containers functionality and removed Area-Infrastructure untriaged Request triage from a team member labels Jan 21, 2025
@baronfel
Copy link
Member Author

Waiting to merge until the March release merge window.

@marcpopMSFT
Copy link
Member

@baronfel there are merge conflicts to be resolved.

@baronfel
Copy link
Member Author

Resolved!

@baronfel baronfel merged commit bca34b9 into dotnet:release/8.0.4xx Feb 11, 2025
17 checks passed
@baronfel baronfel deleted the backport-40611-to-8.0.4xx branch February 11, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Containers Related to dotnet SDK containers functionality Branch Lockdown Servicing-approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants