Skip to content

Use online checksums in Dockerfiles where possible #6548

Open
3 of 6 issues completed
Open

Description

@lbussell

Instead of having hardcoded checksum values, we should fetch checksum files from the internet at build time (where possible). In combination with #6266, this makes our Dockerfiles more flexibility and makes them simpler to maintain.

Activity

  1. added theissue type on Jul 15, 2025
  2. added
    area-dockerfilesConcerns the official .NET Dockerfiles or Dockerfile templates
    on Jul 15, 2025
  3. changed the issue type fromtoon Jul 21, 2025
  4. moved this from Backlog to Current Release in .NET Dockeron Jul 21, 2025
  5. lbussell commented on Jul 22, 2025

    @lbussell
    MemberAuthor

    MinGit is the only .NET image component I see that doesn't upload its own checksum files. They are listed in the body of the GitHub release (example). However, the sha256 is also available via the GitHub API: https://github.com/orgs/community/discussions/23512#discussioncomment-13360044. This is a very recent addition to GitHub releases. It will take some experimenting to see if we can get this into a one-liner, but even then, we might be subject to GitHub API rate-limiting if we don't authenticate inside the Dockerfile.

  6. lbussell commented on Jul 23, 2025

    @lbussell
    MemberAuthor

    The easy-path for Arcade repos to generate checksums is by using the GenerateChecksumItems task. It outputs a bare checksum file, which isn't ideal for Linux use cases. I filed dotnet/arcade#15994 for adding an option to generate checksum files in the standard sha512sum format.

  7. moved this from Current Release to In Progress in .NET Dockeron Aug 11, 2025
  8. moved this from In Progress to Current Release in .NET Dockeron Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dockerfilesConcerns the official .NET Dockerfiles or Dockerfile templates

    Type

    Projects

    • Status
      Current Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions