Skip to content

seeq12/teamcity-docker-images

 
 

Repository files navigation

docker images

Minimal agent (jetbrains/teamcity-minimal-agent)

jetbrains/teamcity-minimal-agent

This minimal image adds just a TeamCity agent without any tools like VCS clients, etc. It is suitable for simple builds and can serve as a base for your custom images.

Agent (jetbrains/teamcity-agent)

jetbrains/teamcity-agent

This image adds a TeamCity agent suitable for Java and .NET development.

Server (jetbrains/teamcity-server)

jetbrains/teamcity-server

To amend current docker images or to build your custom docker images or create a pull request

  • Ensure Docker installed.
  • Clone this repository.
  • Apply required changes in the directory configs.
  • Generate docker and readme files by running the generate.sh or generate.cmd script. All generated artifacts will be placed into the directory context/generated.
  • To check that image build is ok:
    • Download the required TeamCity .tar.gz file. For instance wget -c https://download.jetbrains.com/teamcity/TeamCity-2021.2.tar.gz -O - | tar -xz -C context
    • Unpack this file into the directory context/TeamCity within the cloned repository.
    • To add plugins to TeamCity agents run the context.sh or context.cmd script. This is optional as otherwise the TeamCity agents will load plugins by themselves on first launch.
    • Build docker images using a corresponding .cmd or .sh script file in context/generated directory.
    • Check the docker images by running docker-compose up in the directories like checks/windows-local or checks/linux-local.
  • Push all repo changes.

To build custom TeamCity Agent, it is possible to leverage Dockerfiles we have provided

To build Docker images that were not provided in docker repositories, you could generate them by yourself

  • Ensure Docker installed.
  • Clone this repository.
  • Download the required TeamCity .tar.gz file. For instance wget -c https://download.jetbrains.com/teamcity/TeamCity-2021.2.tar.gz -O - | tar -xz -C context
  • Unpack this file into the directory context/TeamCity within the cloned repository.
  • Generate an image using a corresponding .cmd or .sh script file in context/generated directory.

Utilities

Bugs/issues/problems

Please use these channels to give feedback on these images, thanks!

A few handy links to some of the communication channels mentioned:

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 40.8%
  • C# 39.8%
  • Kotlin 10.4%
  • Batchfile 3.8%
  • Shell 2.9%
  • Python 1.2%
  • PowerShell 1.1%