Run Java browser tests with JDK 27, Gradle, and Google Chrome.
973
Run Java browser tests with JDK 27, Gradle, and Google Chrome.
venvlibatomic for browser test toolsThe working directory is /workspace. Commands run as the tester user.
The default command starts Bash. Give this user write access to the mounted project files.
Gradle keeps its caches in /home/tester/.gradle (GRADLE_USER_HOME). To keep the downloaded
dependencies between runs, mount a named volume at this path, for example
-v gradle-cache:/home/tester/.gradle.
| Tag | Meaning | Platform |
|---|---|---|
latest | Latest successful main build | linux/amd64 |
docker pull stden/java-ui-browser:latest
docker run --rm stden/java-ui-browser:latest \
bash -c 'java --version && gradle --version && google-chrome --version'
Run this command from a Gradle project directory:
docker run --rm --shm-size=1g -v "$PWD":/workspace \
stden/java-ui-browser:latest gradle --no-daemon test
Configure the browser in your tests to use headless mode. Your project supplies its test framework and browser driver dependencies.
CI checks the Java, Gradle, Chrome, Git, and Python versions. It also checks that Python
can load venv and libatomic.so.1.
Content type
Image
Digest
sha256:0f960c0fd…
Size
635.1 MB
Last updated
1 day ago
docker pull stden/java-ui-browser