Skip to content

build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds #8612

Open
base698 wants to merge 1 commit intoapache:mainfrom
base698:jt_mac_podman
Open

build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds #8612
base698 wants to merge 1 commit intoapache:mainfrom
base698:jt_mac_podman

Conversation

@base698
Copy link

@base698 base698 commented Oct 14, 2025

⚠️ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

  • I have read through the Contributing Documentation.
  • I have added relevant tests.
  • I have added relevant documentation.
  • I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

This PR improves container build flexibility and unifies the JIRA epic collector to use the v3 /search/jql endpoint exclusively.

Key changes:

  • Makefiles
    • Introduces CONTAINER_CMD (defaults to docker) and PLATFORM (defaults to linux/amd64) for flexible builds across environments.
    • Updates all docker build commands to respect $(CONTAINER_CMD) and --platform=$(PLATFORM).
  • Backend Dockerfile
    • Adds -Wno-incompatible-pointer-types and USE_BUNDLED_ZLIB=ON to CMake flags for stable cross-compile of libgit2.

Does this close any open issues?

  • No

Screenshots

N/A


Other Information

Usage

  • make build-server-image CONTAINER_CMD=podman PLATFORM=linux/arm64

Motivation

  • Allow building on a MacBook Pro

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. devops Something about CI/CD (devops) pr-type/feature-development This PR is to develop a new feature priority/medium This issue is medium important labels Oct 14, 2025
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops Something about CI/CD (devops) pr-type/feature-development This PR is to develop a new feature priority/medium This issue is medium important size:S This PR changes 10-29 lines, ignoring generated files. Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant