Sign inSign up

1node/teamcity-build-agent

By 1node

•Updated 27 days ago

Teamcity agent with preinstalled software

Image
0

1.9K

1node/teamcity-build-agent repository overview

⁠teamcity-agent

https://github.com/1k-off/docker-images-base/blob/main/azure/webapp-deploy/README.md⁠

  • base - teamcity agent with pre-installed aws lambda tools, aws cli, GitHub releases.
  • net5 - teamcity agent with pre-installed dotnet 5 and base features.
  • net6 - teamcity agent with pre-installed dotnet 6 and base features.
  • net7 - teamcity agent with pre-installed dotnet 7 and base features.
  • net8 - teamcity agent with pre-installed dotnet 8 and base features.
  • dotnet-full - teamcity agent with pre-installed dotnet core 2.2, 3.1, dotnet 5, 6, 7, 8 and base features.

Note: This repo does not publish or maintain a latest tag. Please declare a specific tag when pulling or referencing images from this repo.

⁠Description

Official teamcity agent with preinstalled software.

Pull the TeamCity image from the Docker Hub Repository:

1node/teamcity-build-agent

and use the following command to start a container with TeamCity agent running inside

Linux container:

docker run -itd --privileged -e SERVER_URL="<url>" -v <path>:/data/teamcity_agent/conf 1node/teamcity-agent:tag

where is the full URL for TeamCity server, accessible by the agent. Note that "localhost" will not generally work as it will refer to the "localhost" inside the container. is the host machine directory to serve as the TeamCity agent config directory. We recommend providing this binding in order to persist the agent configuration, e.g. authorization on the server. Note that you should map a different folder for every new agent you create.

You can also provide your agent's name using -e AGENT_NAME="". If this variable is omitted, the name for the agent will be generated automatically by the server.

When you run the agent for the first time, you should authorize it via the TeamCity server UI: go to the Unauthorized Agents page in your browser. See more details. All information about agent authorization is stored in the agent's configuration folder. If you stop the container with the agent and then start a new one with the same config folder, the agent's name and authorization state will be preserved.

A TeamCity agent does not need manual upgrade: it will upgrade itself automatically on connecting to an upgraded server.

Tag summary

Content type

Image

Digest

sha256:c459b5c2d…

Size

3 GB

Last updated

27 days ago

docker pull 1node/teamcity-build-agent:dotnet-full-unsup-included