TeamCity build agents on Debian 13 trixie: JDK 21, docker/buildah, php, node, SDKs
10K+
epicmorg/teamcity-agentJetBrains TeamCity build agents built by EpicMorg on our own
epicmorg/debian:trixie-develop
base (full build toolchain, prebuilt OpenSSL / ICU / curl / libpq under /usr/local/share/epicmorg).
These are not the JetBrains teamcity-agent / teamcity-minimal-agent images: one family of
tags on one base, every runtime taken from our own prebuilt images.
| Tag | Built from | Adds |
|---|---|---|
minimal | epicmorg/debian:trixie-develop | TeamCity agent (buildAgent.zip from teamcity.jetbrains.com), supervisord; JDK 21 + Maven, Gradle, Kotlin copied from epicmorg/jdk:21 |
latest | minimal | Docker CE (docker-ce, containerd.io, buildx and compose plugins) from the trixie Docker repo, buildah, podman, podman-compose, fuse-overlayfs, buildah-wrapper / kaniko-wrapper; .NET SDK (STS channel); Debian mono-complete |
php56 … php85 | minimal | PHP from epicmorg/php:<ver> via COPY --from (php, php-fpm, php-cgi, composer, the baked OpenSSL / curl / libpq / ICU it links) |
node0.12 … node26 | minimal | Node.js from epicmorg/nodejs:<ver> via COPY --from (node, npm, npx, plus pnpm / yarn where that image has them) |
android-sdk | minimal | JDK 17 (from epicmorg/jdk:17, set as JAVA_HOME), Debian android-sdk + sdkmanager, platform 35, build-tools 35.0.0, cmake 3.22.1 |
atlassian-sdk | minimal | Atlassian Plugin SDK (atlas-* on PATH) |
amxx-sdk, amxx-sdk-rc | minimal | AMX Mod X 1.9 / 1.10 compiler (amxxpc, compile.sh, includes) |
Every runtime is checked while the image is built: the PHP agents re-run the linkage assertions of
the php image (no unresolved libraries, one SONAME per library, libssl / libcrypto only from the
baked OpenSSL, php -m identical to the php image) and the node agents fail the build if node on
PATH is not the copied one. Everything the project builds lives under /usr/local/share/epicmorg
(the agent itself in /usr/local/share/epicmorg/teamcity/agent).
| Tags | Dockerfile |
|---|---|
amxx-sdk | amxx-sdk/1.9 |
amxx-sdk-rc | amxx-sdk/1.10 |
android-sdk | android-sdk |
ansible-2.11, ansible-2.11.12 | ansible/2.11 |
ansible-2.12, ansible-2.12.10 | ansible/2.12 |
ansible-2.13, ansible-2.13.13 | ansible/2.13 |
ansible-2.14, ansible-2.14.18 | ansible/2.14 |
ansible-2.15, ansible-2.15.13 | ansible/2.15 |
ansible-2.16, ansible-2.16.19 | ansible/2.16 |
ansible-2.17, ansible-2.17.14 | ansible/2.17 |
ansible-2.18, ansible-2.18.19 | ansible/2.18 |
ansible-2.19, ansible-2.19.14 | ansible/2.19 |
ansible-2.20, ansible-2.20.10 | ansible/2.20 |
ansible-2.21, ansible-2.21.5, ansible | ansible/2.21 |
atlassian-sdk | atlassian-sdk |
latest | latest |
minimal | minimal |
node0.12 | node0.12 |
node4 | node4 |
node5 | node5 |
node6 | node6 |
node7 | node7 |
node8 | node8 |
node9 | node9 |
node10 | node10 |
node11 | node11 |
node12 | node12 |
node13 | node13 |
node14 | node14 |
node15 | node15 |
node16 | node16 |
node17 | node17 |
node18 | node18 |
node19 | node19 |
node20 | node20 |
node21 | node21 |
node22 | node22 |
node23 | node23 |
node24 | node24 |
node25 | node25 |
node26 | node26 |
php5.6 | php56 |
php7.0 | php70 |
php7.1 | php71 |
php7.2 | php72 |
php7.3 | php73 |
php7.4 | php74 |
php8.0 | php80 |
php8.1 | php81 |
php8.2 | php82 |
php8.3 | php83 |
php8.4 | php84 |
php8.5 | php85 |
Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/teamcity-agent:<tag> on each) - same digest everywhere.
The agent runs under supervisord as root. On the first start it creates
buildAgent.properties from the environment; later starts reuse the file from the conf volume.
| Variable | Meaning |
|---|---|
SERVER_URL | TeamCity server URL - required on the first start |
AGENT_TOKEN | agent authentication token (--auth-token) |
AGENT_NAME | agent name |
OWN_ADDRESS, OWN_PORT | address / port the server uses to reach the agent |
AGENT_OPTS | space-separated key=value lines appended to buildAgent.properties |
services:
teamcity-agent:
image: epicmorg/teamcity-agent:minimal
restart: unless-stopped
environment:
SERVER_URL: "https://teamcity.example.com"
AGENT_NAME: "agent-01"
volumes:
- agent-conf:/usr/local/share/epicmorg/teamcity/agent/conf
- agent-work:/usr/local/share/epicmorg/teamcity/agent/work
- agent-logs:/usr/local/share/epicmorg/teamcity/agent/logs
volumes:
agent-conf:
agent-work:
agent-logs:
Volumes declared by the image: .../teamcity/agent/conf, .../work, .../logs and
/var/log/supervisor.
latest: building containers inside the agentlatest starts its own dockerd under supervisord (unix:///var/run/docker.sock,
--iptables=false --bridge=none) and ships buildah / podman configured for fuse-overlayfs
(BUILDAH_FORMAT=docker, BUILDAH_ISOLATION=docker). It needs a privileged container; the
storage directories are declared as volumes:
docker run -d --privileged \
-e SERVER_URL=https://teamcity.example.com -e AGENT_NAME=agent-oci \
-v agent-conf:/usr/local/share/epicmorg/teamcity/agent/conf \
-v agent-docker:/var/lib/docker -v agent-containers:/var/lib/containers \
epicmorg/teamcity-agent:latest
Use a tag as a base and add what your builds need:
FROM epicmorg/teamcity-agent:php83
RUN php-ext-install -j"$(nproc)" ldap
php* agents is the same build as epicmorg/php (NTS, php-fpm, no mod_php);
see the php README for
the OpenSSL / ICU / curl matrix per version. Debian php* packages are apt-pinned out.minimal agent always runs JDK 21. android-sdk switches JAVA_HOME to JDK 17.epicmorg/github-runner,
epicmorg/gitlab-runner.epicmorg/teamcity-server.Content type
Image
Digest
sha256:03e011606…
Size
8.2 GB
Last updated
5 days ago
docker pull epicmorg/teamcity-agent