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
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) <noreply@anthropic.com>
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
Add docker/Dockerfile (Maven + Temurin 21 base plus Xvfb and the GTK/X11 libraries Eclipse SWT and AWT require) and a README documenting how to run the full verify suite headlessly in a container. Runs --init so xvfb-run is not PID 1, and mounts a persistent .m2 volume to cache p2/Maven downloads between runs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
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.
Supersedes #1501
Why the change
DSL DevKit can now be built and tested 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 on Linux ARM64. It comes from build: add Tycho environment profile for linux/aarch64 #1501.test.timeout, so the documented ARM command raises it to 7,200 s.Change outline
Checked with the full CI-equivalent build in the container on x86-64 and under ARM64 emulation: 333 tests, 0 failures, 2 skipped, and Checkstyle, PMD, CPD and SpotBugs clean.
🤖 Generated with Claude Code