Replies: 1 comment 1 reply
-
|
There's not such a property today, but I can see where that would be useful. We already allow certain kinds of guided variation (ContainerFamily for example), and this kind of variation is pretty aligned with that same thought process. A new property like All of the complexity of this decision-making is part of the
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @baronfel,
I’m using the .NET SDK Container Building Tools and want to pin the exact .NET version used for publishing a container image, without losing the automatic base-image selection logic the SDK provides.
Right now I can do this by setting:
This works to pin the version, but it overrides the SDK’s helpful logic for choosing the right base image variant. For example, if I disable invariant globalization:
...it’s not enough—I also have to manually change the base image to an
-extravariant:This means I’m taking on the responsibility to track and reflect SDK flags (like invariant globalization) in the image tag myself, which I’d rather avoid.
Question / Desired behavior
Is there a way to specify only the version (e.g.,
10.0.0) and let the SDK continue choosing the correct base image variant (e.g., adding-extrawhen needed) based on other project properties?Something like:
…while still allowing the SDK to compute the appropriate repository and variant according to the usual rules.
Follow-ups
ContainerBaseImageTag(or similar) that the SDK composes with its chosen base image name and variant?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions