Skip to content

Fix 10.0 runtime resolute-chiseled-extra template references

806df3e
Select commit
Loading
Failed to load commit list.
Open

Add Ubuntu 26.04 "Resolute" images for .NET 10 #7107

Fix 10.0 runtime resolute-chiseled-extra template references
806df3e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnet-docker-nightly-pr failed Apr 1, 2026 in 4m 8s

Build #20260401.4 had test failures

Details

Tests

  • Failed: 1 (0.73%)
  • Passed: 136 (99.27%)
  • Other: 0 (0.00%)
  • Total: 137

Annotations

Check failure on line 1846 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-nightly-pr

Build log #L1846

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.DotNet.Docker.Tests.GeneratedArtifactTests.VerifyInternalDockerfilesOutput

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnet-docker-nightly-pr

Microsoft.DotNet.Docker.Tests.GeneratedArtifactTests.VerifyInternalDockerfilesOutput

Shouldly.ShouldAssertException : collection
    should satisfy all the conditions specified, but does not.
The following errors were found ...
--------------- Error 1 ---------------
    To approve the changes run this command:
    cp "/repo/tests/Microsoft.DotNet.Docker.Tests/Baselines/GeneratedArtifactTests/VerifyInternalDockerfilesOutput/runtime-10.0-resolute-chiseled-extra-amd64-Dockerfile.received.txt" "/repo/tests/Microsoft.DotNet.Docker.Tests/Baselines/GeneratedArtifactTests/VerifyInternalDockerfilesOutput/runtime-10.0-resolute-chiseled-extra-amd64-Dockerfile.approved.txt"
    ----------------------------

    path => File.ReadAllText(path)
        should match approved with options: Ignoring line endings
    "ARG REPO=mcr.microsoft.com/dotnet/runtime-deps

    # Installer image
    FROM amd64/buildpack-deps:resolute-curl AS installer

    ARG ACCESSTOKEN

    # Retrieve .NET Runtime
    RUN dotnet_version=0.0.0 \
        && dotnet_build_version=$dotnet_version \
        && curl --header "Authorization: Bearer $ACCESSTOKEN" --header "x-ms-version: 2017-11-09" --fail --show-error --location \
            --remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
            --remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512 \
        && echo "$(cat dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512| tr 'A-F' 'a-f')  dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz" | sha512sum -c - \
        && mkdir --parents /usr/share/dotnet \
        && tar --gzip --extract --no-same-owner --file dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz --directory /usr/share/dotnet \
        && rm \
            dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
            dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512

    RUN mkdir /dotnet-symlink \
        && ln -s /usr/share/dotnet/dotnet /dotnet-symlink/dotnet


    # .NET runtime image
    FROM $REPO:0.0.0-resolute-chiseled-amd64

    # .NET Runtime version
    ENV DOTNET_VERSION=0.0.0

    COPY --from=installer ["/usr/share/dotnet", "/usr/share/dotnet"]
    COPY --from=installer ["/dotnet-symlink", "/usr/bin"]

    ENTRYPOINT ["/usr/bin/dotnet"]
    CMD ["--info"]
    "
        but was
    "ARG REPO=mcr.microsoft.com/dotnet/runtime-deps

    # Installer image
    FROM amd64/buildpack-deps:resolute-curl AS installer

    ARG ACCESSTOKEN

    # Retrieve .NET Runtime
    RUN dotnet_version=0.0.0 \
        && dotnet_build_version=$dotnet_version \
        && curl --header "Authorization: Bearer $ACCESSTOKEN" --header "x-ms-version: 2017-11-09" --fail --show-error --location \
            --remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
            --remote-name https://dotnetstage.blob.core.windows.net/Runtime/$dotnet_build_version/dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512 \
        && echo "$(cat dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512| tr 'A-F' 'a-f')  dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz" | sha512sum -c - \
        && mkdir --parents /usr/share/dotnet \
        && tar --gzip --extract --no-same-owner --file dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz --directory /usr/share/dotnet \
        && rm \
            dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz \
            dotnet-runtime-$dotnet_build_version-linux-x64.tar.gz.sha512

    RUN mkdir /dotnet-symlink \
        && ln -s /usr/share/dotnet/dotnet /dotnet-symlink/dotnet


    # .NET runtime image
    FROM $REPO:0.0.0-resolute-chiseled-extra-amd64

    # .NET Runtime version
    ENV DOTNET_VERSION=0.0.0

    COPY --from=installer ["/usr/share/dotnet", "/usr/share/dotnet"]
    CO
Raw output
   at Microsoft.DotNet.Docker.Tests.Extensions.ShouldlyExtensions.ShouldAllSatisfy[T](IEnumerable`1 collection, Action`1 condition) in /repo/tests/Microsoft.DotNet.Docker.Tests/Extensions/ShouldlyExtensions.cs:line 16
   at Microsoft.DotNet.Docker.Tests.GeneratedArtifactTests.VerifyInternalDockerfilesOutput() in /repo/tests/Microsoft.DotNet.Docker.Tests/GeneratedArtifactTests.cs:line 147
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)