docker images
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)
This image adds a TeamCity agent suitable for Java and .NET development.
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 generated and 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 coresponding .cmd or .sh script file in generated directory.
- Check the docker images by running
docker-compose up
in the directories like checks/windows-local or checks/linux-local.
- Download the required TeamCity .tar.gz file. For instance
- Push all repo changes.
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 coresponding .cmd or .sh script file in generated directory.
Bugs/issues/problems
Please use these channels to give feedback on these images, thanks!