Skip to content

Conversation

@opajonk
Copy link
Contributor

@opajonk opajonk commented Oct 29, 2025

There are problems with creating multiarch containers in one go via buildx and docker. One special complication is that we have to use devcontainer-cli since we build a devcontainer. One of the several solutions is to sequentially build and push per-architecture-tags, then create a merged metadata file with all architectures in one tag and push that as well. Not perfect, but fits the current structure best (with docker-in-docker etc.)

Also: replaced the git and git-lfs devcontainer features with simple apt install calls. The features would actually re-build binaries from source, while there are pre-built binaries existing for the distribution already. The precise version of the tools likely does not make a difference; and even if it does: then we can use the Git PPA.

Closes #42

There are problems with creating multiarch devcontainers in one go via buildx and docker. One of the several solutions is to build and push per-architecture-tags, then create a merged metadata file with *all* architectures in one tag. Not perfect, but fits the current structure best (with docker-in-docker etc.)
@opajonk opajonk marked this pull request as ready for review October 29, 2025 12:32
this dramatically speeds up the builds, and the exact tool versions probably do not matter that much.
@opajonk opajonk changed the title Try to fix multiarch builds of containers Try to fix multiarch builds of containers & speedup container builds Oct 29, 2025
@AlexanderLanin AlexanderLanin merged commit 875776b into eclipse-score:main Oct 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace git feature with Git PPA

2 participants