dotnet-docker icon indicating copy to clipboard operation
dotnet-docker copied to clipboard

Add support for Alpine 3.20 (once released)

Open MichaelSimons opened this issue 1 year ago • 1 comments

This issue is to track adding support for Alpine 3.20 once it is released. Following their release schedule, it is reasonable to expect it in early May.

Parent issue: https://github.com/dotnet/core/issues/9292

ImageBuilder Tasks

  • [ ] Ensure that the ImageBuilder supports the new distro version in the code to generate the correct README display name from the version specified in the manifest

Nightly Branch Tasks

    • [ ] Copy the Dockerfiles of the most recent version of that distro (or author new ones for an entirely new distro) and place them in a version-specific folder under their respective variants (runtime-deps, runtime, aspnet, sdk). Note: not all variants have a corresponding runtime-deps image.
    • [ ] Modify the Dockerfiles as appropriate for any specific changes related to the new distro version
    • [ ] Update manifest.json to reference the new set of Dockerfiles with the appropriate tags
      • [ ] Move any distro-specific floating tags to the newer version (e.g. 6.0-alpine)
    • [ ] Update the test data to include the new distro version
    • [ ] Run the command to update the READMEs: .\eng\readme-templates\Get-GeneratedReadmes.ps1
    • [ ] Run the command to update the image size baseline file: .\tests\performance\Validate-ImageSize.ps1 -UpdateBaselines
    • [ ] Inspect generated changes for correctness
    • [ ] Consider whether sample Dockerfiles should be authored if this is a new distro and them to the samples
    • [ ] Run the command to build and test your changes: .build-and-test.ps1 -OS <os>
    • [ ] Commit generated changes
    • [ ] Create PR
    • [ ] Get PR signoff
    • [ ] Merge PR to nightly branch
    • [ ] Confirm READMEs have been updated in Docker Hub

Main Branch Tasks

    • [ ] After the product teams have signed off on the new distro, merge these changes to the main branch as part of the release process for the next .NET release
      • [ ] For Alpine, follow the policy to only update the floating alpine tag one month after the release of the new Alpine version. Since nightly will already have the floating tag updated, the initial release of the new Alpine version to main will need to account for this and keep it set to the older version for one month.
    • [ ] Create an announcement (example: Alpine 3.10) unless the new distro is added only for pre-release versions in which the announcement would be incorporated in the pre-release notes.

MichaelSimons avatar May 01 '24 19:05 MichaelSimons

[Triage] 3.20 support was already added to the .NET 6.0 RID graph as part of https://github.com/dotnet/runtime/pull/99560.

lbussell avatar May 02 '24 18:05 lbussell

Alpine 3.20 images are now available: https://github.com/dotnet/dotnet-docker/discussions/5556

lbussell avatar Jun 12 '24 17:06 lbussell