Skip to content

Latest commit

 

History

History
569 lines (397 loc) · 27.2 KB

teamcity-agent.md

File metadata and controls

569 lines (397 loc) · 27.2 KB

teamcity-agent tags

Other tags

multi-architecture

When running an image with multi-architecture support, docker will automatically select an image variant which matches your OS and architecture.

linux

windows

local

Supported platforms: linux 20.04, windows 1809, windows 2004

Content

local-windowsservercore

Supported platforms: windows 1809, windows 2004

Content

local-linux

Dockerfile

This is an official JetBrains TeamCity build agent image.

The docker image is available on:

Installed components:

Container platform: linux

Docker build commands:

docker pull ubuntu:20.04
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/linux/MinimalAgent/Ubuntu/20.04/Dockerfile" -t teamcity-minimal-agent:local-linux "context"
echo 2> context/.dockerignore
echo TeamCity >> context/.dockerignore
docker build -f "generated/linux/Agent/Ubuntu/20.04/Dockerfile" -t teamcity-agent:local-linux "context"

The required free space to generate image(s) is about 2 GB.

local-linux-sudo

Dockerfile

This is an official JetBrains TeamCity build agent image. This image allows to do sudo without a password for the buildagent user. ## To enable Docker, please add the following arguments: --privileged -e DOCKER_IN_DOCKER=start.

The docker image is available on:

Container platform: linux

Docker build commands:

docker pull ubuntu:20.04
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/linux/MinimalAgent/Ubuntu/20.04/Dockerfile" -t teamcity-minimal-agent:local-linux "context"
echo 2> context/.dockerignore
echo TeamCity >> context/.dockerignore
docker build -f "generated/linux/Agent/Ubuntu/20.04/Dockerfile" -t teamcity-agent:local-linux "context"
docker build -f "generated/linux/Agent/Ubuntu/20.04-sudo/Dockerfile" -t teamcity-agent:local-linux-sudo "context"

The required free space to generate image(s) is about 3 GB.

local-nanoserver-1809

Dockerfile

This is an official JetBrains TeamCity build agent image.

The docker image is available on:

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:1809
docker pull mcr.microsoft.com/powershell:nanoserver-1809
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1809/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1809 "context"
docker build -f "generated/windows/Agent/windowsservercore/1809/Dockerfile" -t teamcity-agent:local-windowsservercore-1809 "context"
docker build -f "generated/windows/Agent/nanoserver/1809/Dockerfile" -t teamcity-agent:local-nanoserver-1809 "context"

The required free space to generate image(s) is about 35 GB.

local-nanoserver-2004

Dockerfile

This is an official JetBrains TeamCity build agent image.

The docker image is available on:

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:2004
docker pull mcr.microsoft.com/powershell:nanoserver-2004
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-2004
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/2004/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-2004 "context"
docker build -f "generated/windows/Agent/windowsservercore/2004/Dockerfile" -t teamcity-agent:local-windowsservercore-2004 "context"
docker build -f "generated/windows/Agent/nanoserver/2004/Dockerfile" -t teamcity-agent:local-nanoserver-2004 "context"

The required free space to generate image(s) is about 35 GB.

local-windowsservercore-1809

Dockerfile

This is an official JetBrains TeamCity build agent image.

The docker image is available on:

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:1809
docker pull mcr.microsoft.com/powershell:nanoserver-1809
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1809/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1809 "context"
docker build -f "generated/windows/Agent/windowsservercore/1809/Dockerfile" -t teamcity-agent:local-windowsservercore-1809 "context"

The required free space to generate image(s) is about 33 GB.

local-windowsservercore-2004

Dockerfile

This is an official JetBrains TeamCity build agent image.

The docker image is available on:

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:2004
docker pull mcr.microsoft.com/powershell:nanoserver-2004
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-2004
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/2004/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-2004 "context"
docker build -f "generated/windows/Agent/windowsservercore/2004/Dockerfile" -t teamcity-agent:local-windowsservercore-2004 "context"

The required free space to generate image(s) is about 33 GB.

linux-dotnet

Dockerfile

This is an official JetBrains TeamCity build agent image. This image can be built manually. It contains a set of .NET SDK. ## To enable Docker, please add the following arguments: --privileged -e DOCKER_IN_DOCKER=start. The docker image is not available and may be created manually.

Installed components:

Container platform: linux

Docker build commands:

docker pull jetbrains/teamcity-agent:2020.2.1-linux-sudo
echo TeamCity > context/.dockerignore
docker build -f "generated/linux/Agent/Ubuntu/20.04-dotnet/Dockerfile" -t teamcity-agent:linux-dotnet "context"

The required free space to generate image(s) is about 1 GB.

local-linux-18.04

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: linux

Docker build commands:

docker pull ubuntu:18.04
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/linux/MinimalAgent/Ubuntu/18.04/Dockerfile" -t teamcity-minimal-agent:local-linux-18.04 "context"
echo 2> context/.dockerignore
echo TeamCity >> context/.dockerignore
docker build -f "generated/linux/Agent/Ubuntu/18.04/Dockerfile" -t teamcity-agent:local-linux-18.04 "context"

The required free space to generate image(s) is about 2 GB.

local-linux-18.04-sudo

Dockerfile

This is an official JetBrains TeamCity build agent image. This image allows to do sudo without a password for the buildagent user. ## To enable Docker, please add the following arguments: --privileged -e DOCKER_IN_DOCKER=start. The docker image is not available and may be created manually.

Container platform: linux

Docker build commands:

docker pull ubuntu:18.04
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/linux/MinimalAgent/Ubuntu/18.04/Dockerfile" -t teamcity-minimal-agent:local-linux-18.04 "context"
echo 2> context/.dockerignore
echo TeamCity >> context/.dockerignore
docker build -f "generated/linux/Agent/Ubuntu/18.04/Dockerfile" -t teamcity-agent:local-linux-18.04 "context"
docker build -f "generated/linux/Agent/Ubuntu/18.04-sudo/Dockerfile" -t teamcity-agent:local-linux-18.04-sudo "context"

The required free space to generate image(s) is about 3 GB.

local-nanoserver-1803

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/powershell:nanoserver-1803
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-1803
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1803/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1803 "context"
docker build -f "generated/windows/Agent/windowsservercore/1803/Dockerfile" -t teamcity-agent:local-windowsservercore-1803 "context"
docker build -f "generated/windows/Agent/nanoserver/1803/Dockerfile" -t teamcity-agent:local-nanoserver-1803 "context"

The required free space to generate image(s) is about 33 GB.

local-nanoserver-1903

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:1903
docker pull mcr.microsoft.com/powershell:nanoserver-1903
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-1903
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1903/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1903 "context"
docker build -f "generated/windows/Agent/windowsservercore/1903/Dockerfile" -t teamcity-agent:local-windowsservercore-1903 "context"
docker build -f "generated/windows/Agent/nanoserver/1903/Dockerfile" -t teamcity-agent:local-nanoserver-1903 "context"

The required free space to generate image(s) is about 35 GB.

local-nanoserver-1909

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:1909
docker pull mcr.microsoft.com/powershell:nanoserver-1909
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-1909
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1909/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1909 "context"
docker build -f "generated/windows/Agent/windowsservercore/1909/Dockerfile" -t teamcity-agent:local-windowsservercore-1909 "context"
docker build -f "generated/windows/Agent/nanoserver/1909/Dockerfile" -t teamcity-agent:local-nanoserver-1909 "context"

The required free space to generate image(s) is about 35 GB.

local-windowsservercore-1803

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/powershell:nanoserver-1803
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-1803
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1803/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1803 "context"
docker build -f "generated/windows/Agent/windowsservercore/1803/Dockerfile" -t teamcity-agent:local-windowsservercore-1803 "context"

The required free space to generate image(s) is about 31 GB.

local-windowsservercore-1903

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:1903
docker pull mcr.microsoft.com/powershell:nanoserver-1903
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-1903
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1903/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1903 "context"
docker build -f "generated/windows/Agent/windowsservercore/1903/Dockerfile" -t teamcity-agent:local-windowsservercore-1903 "context"

The required free space to generate image(s) is about 33 GB.

local-windowsservercore-1909

Dockerfile

This is an official JetBrains TeamCity build agent image. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull mcr.microsoft.com/windows/nanoserver:1909
docker pull mcr.microsoft.com/powershell:nanoserver-1909
docker pull mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-1909
echo TeamCity/webapps > context/.dockerignore
echo TeamCity/devPackage >> context/.dockerignore
echo TeamCity/lib >> context/.dockerignore
docker build -f "generated/windows/MinimalAgent/nanoserver/1909/Dockerfile" -t teamcity-minimal-agent:local-nanoserver-1909 "context"
docker build -f "generated/windows/Agent/windowsservercore/1909/Dockerfile" -t teamcity-agent:local-windowsservercore-1909 "context"

The required free space to generate image(s) is about 33 GB.

nanoserver-dotnet

Dockerfile

This is an official JetBrains TeamCity build agent image. This image can be built manually. It contains a set of .NET SDK. The docker image is not available and may be created manually.

Installed components:

Container platform: windows

Docker build commands:

docker pull jetbrains/teamcity-agent:2020.2.1-nanoserver-1809
echo TeamCity > context/.dockerignore
docker build -f "generated/windows/Agent/nanoserver/1809-dotnet/Dockerfile" -t teamcity-agent:nanoserver-dotnet "context"

The required free space to generate image(s) is about 6 GB.