Skip to content

Update Alpine container images from 3.22 to 3.21 with SHA256 pins#121331

Merged
steveisok merged 3 commits intomainfrom
copilot/update-yml-files-for-architecture
Nov 4, 2025
Merged

Update Alpine container images from 3.22 to 3.21 with SHA256 pins#121331
steveisok merged 3 commits intomainfrom
copilot/update-yml-files-for-architecture

Conversation

Copy link
Contributor

Copilot AI commented Nov 4, 2025

Updates Alpine container references from version 3.22 to 3.21 with SHA256 digest pins for reproducible builds across amd64, arm32v7, and arm64v8 architectures.

Changes

  • CoreCLR helix queues (eng/pipelines/coreclr/templates/helix-queues-setup.yml): Updated 6 container references for linux_musl_x64, linux_musl_arm, and linux_musl_arm64 platforms (public and internal)
  • Installer helix queues (eng/pipelines/installer/helix-queues-setup.yml): Updated 2 container references for linux_musl_x64 and linux_musl_arm64 platforms
  • Libraries helix queues (eng/pipelines/libraries/helix-queues-setup.yml): Updated 2 container references for linux_musl_x64 and linux_musl_arm64 platforms

Note: The linux_musl_x64_dev_innerloop container in eng/pipelines/common/templates/pipeline-with-resources.yml remains at alpine-3.22-amd64 (excluded from this update).

Container digests

  • amd64: @sha256:bb83259554319753846ffd6892452c679446fee7671b61f52f1bca3b4eb23482
  • arm32v7: @sha256:9def952ab6aefa9d4641b4db38c2b147f1f33fede8540c4a971f3a071d3a44de
  • arm64v8: @sha256:d09ce866cd51a51f8d361b0c696175ec7e948950ad1caa811eb44ba318bc82f3
Original prompt

The yml files with references to mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.22 containers need updated for amd64, arm32v7, and arm64v8.

amd64 entries should be updated to mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64@sha256:bb83259554319753846ffd6892452c679446fee7671b61f52f1bca3b4eb23482

arm32v7 entries should be updated to mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-arm32v7@sha256:9def952ab6aefa9d4641b4db38c2b147f1f33fede8540c4a971f3a071d3a44de

arm64v8 entries should be updated to mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-arm64v8@sha256:d09ce866cd51a51f8d361b0c696175ec7e948950ad1caa811eb44ba318bc82f3


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: steveisok <471438+steveisok@users.noreply.github.com>
Copilot AI changed the title [WIP] Update yml files for docker container references Update Alpine container images from 3.22 to 3.21 with SHA256 pins Nov 4, 2025
Copilot AI requested a review from steveisok November 4, 2025 01:37
@steveisok
Copy link
Member

@copilot my prompt was a little too generic. I didn't want you to change the image for linux_musl_x64_dev_innerloop. Can you please change it back to the original?

Co-authored-by: steveisok <471438+steveisok@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 4, 2025

@copilot my prompt was a little too generic. I didn't want you to change the image for linux_musl_x64_dev_innerloop. Can you please change it back to the original?

Done. Reverted the linux_musl_x64_dev_innerloop image back to alpine-3.22-amd64 in commit 718376a.

@steveisok steveisok marked this pull request as ready for review November 4, 2025 03:34
Copilot AI review requested due to automatic review settings November 4, 2025 03:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates Alpine Linux Docker image references in Helix queue setup configurations, changing from Alpine 3.22 to Alpine 3.21 images and adding SHA256 digest pinning for improved security and reproducibility.

Key changes:

  • Downgrade Alpine Linux container images from version 3.22 to 3.21
  • Add SHA256 digest pinning to all Alpine container image references
  • Update affects multiple architectures (amd64, arm32v7, arm64v8) across libraries, installer, and coreclr pipelines

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
eng/pipelines/libraries/helix-queues-setup.yml Updated Alpine 3.22 to 3.21 with SHA256 digests for amd64 and arm64 architectures in library builds
eng/pipelines/installer/helix-queues-setup.yml Updated Alpine 3.22 to 3.21 with SHA256 digests for amd64 and arm64 architectures in installer builds
eng/pipelines/coreclr/templates/helix-queues-setup.yml Updated Alpine 3.22 to 3.21 with SHA256 digests for amd64, arm32, and arm64 architectures in both public and internal CoreCLR builds

@steveisok steveisok requested a review from a team November 4, 2025 03:51
@steveisok
Copy link
Member

@chcosta recommended pinning to alpine containers to avoid pip errors for now.

@steveisok
Copy link
Member

/ba-g Cancelled android legs dotnet/dnceng#3008. Not related to the change.

@steveisok steveisok merged commit 346dcf7 into main Nov 4, 2025
152 of 156 checks passed
@steveisok steveisok deleted the copilot/update-yml-files-for-architecture branch November 4, 2025 11:44
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants