Skip to content

[FEATURE][BUILD]: Support for container builds for ppc64le #2049

@sanket-patil-11

Description

@sanket-patil-11

🧭 Type of Feature

Enhancement to existing functionality: Enhance the current container build tools to include changes needed to support container build on ppc64le architecture.

🧭 Epic

Title: Enhance container build scripts to support ppc64le
Goal: Consistent container build process regardless of platform architecture
Why now: Build capability needed for ppc64le as part of ability to provide multi-arch container images.


🙋♂️ User Story 1

As a: Developer
I want: The MCP gateway Docker image to support ppc64le architecture
So that: I can run deploy and run MCP gateway on ppc64le without having to build the container locally.

✅ Acceptance Criteria

Scenario: Update existing container build scripts as needed to support ppc64le
  Given a developer is running on ppc64le or using emulation 
  When Allow "make build-container" to build for ppc64le architecture as a user can do on any other architecture
  Then Successfully build a container image for ppc64le without customer modifications

🙋♂️ User Story 2

As a: Developer
I want: to ensure that the introduction of ppc64le is supported by buildha/podman and docker build
So that: existing build/runtime tools remain consistent across architectures

✅ Acceptance Criteria

Scenario: Validate that build and runtime of a container is consistent between docker and podman.
  Given that docker and podman are already integrated into the build scripts for other platforms.
  When a developer wishes to build a container for ppc64le.
  Then Successfully build a container image for ppc64le without errors

📐 Design Sketch (optional)

Include a diagram, sketch, or flow (use Mermaid if desired):

flowchart TD
    A[Client] -->|POST /completions| B(MCPGateway)
    B --> C[Completion Service]
Loading

🔗 MCP Standards Check

  • Change adheres to current MCP specifications
  • No breaking changes to existing MCP-compliant integrations
  • If deviations exist, please describe them below:

🔄 Alternatives Considered

make compiler flag to include specific changes needed in container builds for ppc64le
Changes only to Makefile were not sufficient because of the way multi-arch container builds are built.


📓 Additional Context

Adding ppc64le support includes a minimal set of changes to the build scripts in a way that does not alter existing architectures.

Metadata

Metadata

Assignees

Labels

COULDP3: Nice-to-have features with minimal impact if left out; included if time permitsdevopsDevOps activities (containers, automation, deployment, makefiles, etc)enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions