apache / apache/couchdb

Improve cross-architecture builds

Open
#4,499 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

Currently building multi-arch images takes hours. Most of time is spend building OTP from source in full qemu emulation mode.

Instead of building from source using buildx try cross-compiling it similar to https://github.com/esl/packages/commit/204a126e4d4b94744089e75970b8f12d2686097a

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the buildx configuration and the OTP build path used for multi-architecture images, then compare it with the linked esl/packages cross-compilation commit. Done means the image build cross-compiles OTP instead of using full QEMU emulation and significantly reduces multi-architecture build time.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, erlang
Domain
build-system, devops
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.