-
Notifications
You must be signed in to change notification settings - Fork 296
Description
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 -dresults in:
no matching manifest for linux/arm64/v8 in the manifest list entries
While Docker Desktop allows emulation using:
platform: linux/amd64this:
->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