Sign inSign up

tauriit/lin-tcagent

By tauriit

Updated almost 8 years ago

Created as an Ubuntu TeamCity build agent with docker support

Image
0

628

tauriit/lin-tcagent repository overview

TeamCity Linux Build Agent

How to use this image


Create a docker-compose.yml, i.e.:

version: '3' services: tc-agent: image: tauriit/lin-tcagent:latest volumes: - "./buildAgent/agent_logs:/root/buildAgent/logs/" - "./buildAgent/conf/:/root/buildAgent/conf/" - "/var/run/docker.sock:/var/run/docker.sock" restart: unless-stopped tty: true

  • The volume "./buildAgent/conf/:/root/buildAgent/conf/" is mapped to a local config you can customize on the fly and the agent will pick it up immediately.
  • In order to get docker to connect to the daemon, mount a volume to your local docker.sock (if running ubuntu docker host) "/var/run/docker.sock:/var/run/docker.sock"

Included in this image:

ubuntu:16.04 git open jdk 8 docker-ce docker-compose build-essential

Source located here: https://github.com/tauri-it/tcagent-docker

Tag summary

Content type

Image

Digest

Size

337.4 MB

Last updated

almost 8 years ago

docker pull tauriit/lin-tcagent