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

Add an Fedora 41 amd64 image and fix other Fedora Dockerfiles to use consistent formatting #1214

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

MichaelSimons
Copy link
Member

  • Add support for Fedora 41
    • Note: dnf was upgraded to dnf 5 which affects the way new package feeds are registered
  • Fixed Fedora 39 and 40 Dockerfiles to:
    • use consistent && formatting
    • remove the checked in microsoft.asc file and download it instead like all of the other distro Dockerfiles do

&& dnf clean all

# Add MS package repo.
RUN dnf5 config-manager addrepo \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omajid - I would appreciate your eyes on this. Is this the best way to register package.microsoft.com with dnf 5?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs say that the replacement for dnf config-manager --add-repo is dnf5 config-manager addrepo. So this does seem to be the correct 1-to-1 port of the old dnf command.

Copy link
Member

@omajid omajid Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that there's a repo file already at https://packages.microsoft.com/fedora/41/prod/config.repo. Can/should we download and use that directly instead of duplicating it here? (This approach would work with dnf as well).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that PMC had a config.repo file. I will use that. Thanks.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this change in 344a3af

@MichaelSimons MichaelSimons merged commit 2fe1c3a into dotnet:main Oct 18, 2024
11 checks passed
@MichaelSimons MichaelSimons deleted the fedora-41 branch October 18, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants