Skip to content

Use online checksums for .NET Monitor Dockerfiles #6567

Closed

Description

@lbussell

This is part of #6548. Instead of using hard-coded checksums, they should be downloaded from the build/release storage account. This makes the Dockerfiles more flexible and simplifies this repo's maintenance, since we will no longer need to calculate or keep track of checksums.

Example:

RUN dotnet_version=10.0.0-preview.6.25358.103 \
&& wget \
https://builds.dotnet.microsoft.com/dotnet/Runtime/$dotnet_version/dotnet-runtime-$dotnet_version-linux-musl-x64.tar.gz \
https://builds.dotnet.microsoft.com/dotnet/Runtime/$dotnet_version/dotnet-runtime-$dotnet_version-linux-musl-x64.tar.gz.sha512 \
&& sha512sum -c dotnet-runtime-$dotnet_version-linux-musl-x64.tar.gz.sha512 \
&& mkdir --parents /dotnet \
&& tar --gzip --extract --no-same-owner --file dotnet-runtime-$dotnet_version-linux-musl-x64.tar.gz --directory /dotnet \
&& rm \
dotnet-runtime-$dotnet_version-linux-musl-x64.tar.gz \
dotnet-runtime-$dotnet_version-linux-musl-x64.tar.gz.sha512

Activity

  1. added theissue type on Jul 22, 2025
  2. added
    area-dockerfilesConcerns the official .NET Dockerfiles or Dockerfile templates
    on Jul 22, 2025
  3. lbussell commented on Jul 23, 2025

    @lbussell
    MemberAuthor

    CI build checksums are under ci.dot.net as expected:

    https://ci.dot.net/public/diagnostics/monitor/9.1.0-preview.3.25363.1/dotnet-monitor-base-9.1.0-preview.3.25363.1-linux-x64.tar.gz
    https://ci.dot.net/public-checksums/diagnostics/monitor/9.1.0-preview.3.25363.1/dotnet-monitor-base-9.1.0-preview.3.25363.1-linux-x64.tar.gz.sha512
    

    Official builds are located in dotnetclichecksums storage account:

    https://builds.dotnet.microsoft.com/dotnet-checksums/diagnostics/monitor/8.1.1/dotnet-monitor-base-8.1.1-linux-x64.tar.gz
    https://dotnetclichecksums.blob.core.windows.net/dotnet/diagnostics/monitor/8.1.1/dotnet-monitor-base-8.1.1-linux-arm64.tar.gz.sha512
    

    I filed dotnet/dotnet-monitor#8436 to track publishing these to dotnetcli (which maps to builds.dotnet.microsoft.com).

  4. lbussell commented on Oct 3, 2025

    @lbussell
    MemberAuthor

    #6634 fixes this for .NET 10.

  5. moved this from Backlog to Rollout in .NET Dockeron Oct 3, 2025
  6. moved this from Rollout to Done in .NET Dockeron Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-dockerfilesConcerns the official .NET Dockerfiles or Dockerfile templates

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions