fix(supernova): resolve Docker multi-platform build failures with QEMU v4.2.0 - #1910
fix(supernova): resolve Docker multi-platform build failures with QEMU v4.2.0#1910ArtieReus wants to merge 6 commits into
Conversation
…sues Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
|
There was a problem hiding this comment.
Pull request overview
Fixes Supernova’s multi-platform Docker builds by ensuring the dependency-install/build step runs on the builder’s native architecture (avoiding QEMU emulation issues during pnpm install / native module compilation).
Changes:
- Adds
--platform=$BUILDPLATFORMto the build stageFROMto build on the host platform. - Adds explanatory comments describing why the build stage is pinned to the build platform.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
Summary
Fix Docker multi-platform build failures for Supernova caused by QEMU v4.2.0 incompatibility with native module compilation during
pnpm install.Changes Made
--platform=$BUILDPLATFORMto Dockerfile build stage to use native host platform instead of QEMU emulationRelated Issues
@swc/corenative builds@swc/coreScreenshots (if applicable)
N/A - Infrastructure change only
Testing Instructions
linux/amd64andlinux/arm64Or test locally: