A Docker image for CI/CD pipelines that bundles common build tools into a single Ubuntu-based environment. It is intended for use as a Bitbucket Pipelines custom runner image (working directory: /opt/atlassian/bitbucketci/agent/build).
| Component | Version |
|---|---|
| Base OS | Ubuntu 22.04 |
| Docker CLI | 28.1.1 |
| Docker Buildx | (from docker:28.1.1-cli) |
| Docker Compose | (from docker:28.1.1-cli) |
| Java (JDK) | 7u80 |
| Apache Maven | 3.6.3 |
| Node.js | 24.11.0 (via nvm 0.40.3) |
| Git | latest from git-core/ppa |
Additional system packages: build-essential, ant, curl, wget, jq, parallel, xvfb, ssh-client, and others.
The container starts with /bin/bash as its entrypoint.
Before building, place an Oracle JDK 7 tarball in the repository root:
jdk-7u80-linux-x64.tar.gz
This file is listed in .gitignore and must be downloaded separately from Oracle. The Dockerfile expects the archive to extract to jdk1.7.0_80/ under /usr/lib/jvm.
You also need Docker installed locally to build the image.
From the repository root:
docker build -t docker-runner .Run a one-off command:
docker run --rm docker-runner -c "java -version && mvn -version && node -version"