/teamcity-agent-go

Teamcity Docker Build Agent for Golang

Primary LanguageDockerfileMIT LicenseMIT

codejanovic/teamcity-agent-go

teamcity-agent-go

Teamcity Docker Build Agent for Golang. Based on the teamcity-minimal-agent image from Jetbrains.

Run with docker run

docker run -d --name="container_name" -e AGENT_NAME="agent_name" -e SERVER_URL="https://your.teamcity.com" codejanovic/teamcity-agent-go:latest

Run with docker-compose

Within your docker-compose.yml file create a new service:

 teamcity-agent1:
    container_name: teamcity-agent1
    image: codejanovic/teamcity-agent-go:latest
    expose:
      - 9090     
    environment:
      - SERVER_URL=https://your.teamcity.com
      - AGENT_NAME=agent_name
    restart: always