Public Repository

Last pushed: 2 years ago
Short Description
A Teamcity agent image, based off Alpine Linux (for docker in docker support).
Full Description

Supported tags

Docker Teamcity Agent

This is a Teamcity agent based off Alpine Linux (for docker in docker support) with the following installed:

  • Java 8 Open JDK
  • Docker in Docker, allowing you to build Docker images on the agent.

Note: The image is currently referencing Dind (Docker-in-Docker) version 1.11. For docker build commands to work on the Teamcity agent, the host docker version must match the Dind version. If you are using a later version of Docker on your host such 1.12, you will need to rebuild the image from the Github repository.

This repository is based off, plus other repositories that are referenced in the agent/Dockerfile.

Starting the containers

The following command will start a TeamCity build agent:

docker run -d --name teamcity-agent1 --privileged -e TEAMCITY_SERVER= -e TEAMCITY_NAME=my-agent-name anotherchris/teamcity-agent

You should then authorise the agent on your Teamcity server.

Docker Pull Command