Skip to content

Enable Multi-Architecture (amd64 + arm64) Docker Image Builds for SW360 #3786

@transmogrify-cell

Description

@transmogrify-cell

Enable Multi-Architecture (amd64 + arm64) Docker Image Builds for SW360

Problem Statement

Currently, SW360 Docker images appear to be built for linux/amd64 only.

On Apple Silicon (ARM64) systems, running:

docker compose up -d

results in:

no matching manifest for linux/arm64/v8 in the manifest list entries

While Docker Desktop allows emulation using:

platform: linux/amd64

this:
->Is undocumented
->Reduces performance due to emulation (QEMU)
->Creates onboarding friction for contributors
->Leads to repeated setup issues for Apple Silicon users
This is not a functional bug in SW360 itself, but rather a limitation in the current container build pipeline.

Root Cause Analysis

The published image:

ghcr.io/eclipse-sw360/sw360

does not appear to include a multi-architecture manifest list.
It is likely built using standard docker build on an amd64 runner instead of a multi-platform build using Docker Buildx.

As a result:

ARM64 hosts cannot pull a native image
Docker falls back to failure unless platform is explicitly forced

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions