Repository navigation
build: add reusable headless Docker build environment - #1475
Open
joaodinissf wants to merge 2 commits into
Open
joaodinissf wants to merge 2 commits into
joaodinissf wants to merge 2 commits into
Conversation
joaodinissf
force-pushed
the
wip/docker-build-env
branch
from
August 26, 2026 13:23
cccf372 to
69c6ead
Compare
joaodinissf
marked this pull request as ready for review
August 26, 2026 13:38
joaodinissf
enabled auto-merge (rebase)
August 26, 2026 13:43
joaodinissf
force-pushed
the
wip/docker-build-env
branch
from
September 22, 2026 22:33
69c6ead to
f00fccd
Compare
joaodinissf
disabled auto-merge
September 30, 2026 13:58
joaodinissf
force-pushed
the
wip/docker-build-env
branch
from
October 25, 2026 07:02
f00fccd to
8c55de4
Compare
Add a Maven profile activated on linux/aarch64 that sets osgi.os=linux, osgi.ws=gtk, osgi.arch=aarch64. Without it, Tycho falls back to the pom's default win32 target environment on arm64 Linux and builds an unlaunchable test runtime (NoClassDefFoundError: org.eclipse.swt.SWTError, exit code 13), so SWT/UI tests cannot run in an arm64 container. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
joaodinissf
force-pushed
the
wip/docker-build-env
branch
from
November 21, 2026 20:47
8c55de4 to
85ec79e
Compare
Adds a small Linux image with Java 21, GTK 3 and Xvfb, so the full build and the UI tests run headlessly on any machine with Docker, on x86-64 or ARM64. It holds only what is specific to Docker, so it needs no upkeep when the build changes: the base image follows the latest Temurin 21 image, and the README runs the build commands from AGENTS.md instead of copying them. The image has no Maven of its own, since the build uses ./mvnw, which pins the Maven version the project can build with. unzip is installed because ./mvnw otherwise downloads the .tar.gz distribution, which doesn't match the wrapper's checksum. tini is the entrypoint, because xvfb-run can hang before starting Maven when it runs as PID 1. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Fable 5.2 <[email protected]>
joaodinissf
force-pushed
the
wip/docker-build-env
branch
from
November 21, 2026 21:42
85ec79e to
29f92bd
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why the change
DSL DevKit can now be built and its UI tests run headlessly in a Linux container, on x86-64 or ARM64, without installing Eclipse, GTK or Xvfb on the host.
Special things to note
64bit_linux_aarch64Maven profile (osgi.os=linux,osgi.ws=gtk,osgi.arch=aarch64), which Tycho needs to resolve SWT on Linux ARM64../mvnw, which pins the Maven version the project can build with.unzipis installed because./mvnwotherwise downloads the.tar.gzdistribution, which doesn't match the wrapper's checksum.tiniis the image's entrypoint, sodocker runneeds no--init: as PID 1,xvfb-runcan hang before starting Maven.Measured
Full CI build from
AGENTS.mdwith-T 3C, on an Apple Silicon Mac (14 cores), with a native macOS build and a container build started at the same time and competing for the machine, two rounds:Both ran 490 tests with no failures and 2 skipped in each round. The container peaked at about 6 GB of memory and opened no windows on the host. The machine was under other load, so the absolute times are approximate; the comparison is between two builds under the same conditions. Each build running alone was not compared.
Change outline
🤖 Generated with Claude Code