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

Use Features On Demand instead of installing CAB files where possible #1193

Open
lbussell opened this issue Nov 25, 2024 · 1 comment
Open
Assignees

Comments

@lbussell
Copy link
Collaborator

In some cases, we can use Features On Demand to install features where we used to install CAB files directly. For example, to install .NET Framework 3 from Windows Update:

DISM /Online /Add-Capability /CapabilityName:NetFx3

We should evaluate which Windows versions support Features On Demand and consider applying this approach retroactively to the applicable .NET Framework Dockerfiles.

@lbussell
Copy link
Collaborator Author

lbussell commented Nov 25, 2024

To discover capabilities available for an image, you can run DISM /Online /Get-Capabilities.

@lbussell lbussell self-assigned this Nov 25, 2024
@lbussell lbussell moved this from Backlog to On Deck in .NET Fx Docker Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: On Deck
Development

No branches or pull requests

1 participant