Skip to content

fix: use oras from AZL3 MCR image instead of imagecustomizer#8467

Merged
hbeberman merged 1 commit into
mainfrom
hebeberm/osguard-image-oras-download
May 7, 2026
Merged

fix: use oras from AZL3 MCR image instead of imagecustomizer#8467
hbeberman merged 1 commit into
mainfrom
hebeberm/osguard-image-oras-download

Conversation

@hbeberman
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Oras within the imagecustomizer container is no longer able to pull from MCR, blocking base image fetching for OS Guard builds. This PR switches to the latest AZL 3.0 container and explicitly installs oras there to do the base image fetch.

Which issue(s) this PR fixes:

Fixes #

Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Switches the base image pull mechanism away from the imagecustomizer container (which can’t pull from MCR) to an Azure Linux 3.0 MCR base image that installs oras at runtime and performs the pull.

Changes:

  • Replace $IMG_CUSTOMIZER_CONTAINER:$IMG_CUSTOMIZER_VERSION usage with mcr.microsoft.com/azurelinux/base/core:3.0.
  • Install oras via tdnf inside the container before running oras pull.

@hbeberman hbeberman enabled auto-merge (squash) May 7, 2026 19:13
@hbeberman hbeberman merged commit 82a4db3 into main May 7, 2026
38 checks passed
@hbeberman hbeberman deleted the hebeberm/osguard-image-oras-download branch May 7, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants