Fix ARM64 builds by replacing AMD64-only base image#4
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
The quay.io/sclorg/mariadb-1011-c9s base image only supports AMD64 architecture, causing ARM64 builds to fail. Replaced it with registry.access.redhat.com/ubi9/ubi which supports both AMD64 and ARM64 platforms. Changes: - Use UBI9 as base image for multi-arch support - Install MariaDB 10.11 from UBI9 repositories - Create default user (UID 1001) that will be renamed to frappe - Maintain compatibility with existing S2I scripts and workflows Co-authored-by: varun-krishnamurthy <128337350+varun-krishnamurthy@users.noreply.github.com>
Address code review feedback: - Define MYSQL_UID and FRAPPE_UID as environment variables - Use variables instead of magic numbers for better maintainability - Add comments explaining UID/GID values - Makes future updates easier if UIDs change in UBI9 Co-authored-by: varun-krishnamurthy <128337350+varun-krishnamurthy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate GitHub Actions failure
Fix ARM64 builds by replacing AMD64-only base image
Nov 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Actions ARM64 builds were failing because
quay.io/sclorg/mariadb-1011-c9sonly supports AMD64.Changes
registry.access.redhat.com/ubi9/ubi:latest(multi-arch)MYSQL_UIDandFRAPPE_UIDas env vars instead of hardcoded valuesS2I script compatibility maintained. Both AMD64 and ARM64 builds should now succeed.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn01.quay.io/usr/bin/skopeo skopeo inspect docker://quay.io/sclorg/mariadb-1011-c9s(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.