Build Linux Docker Images from Team City

Hi 

I have installed Docker (Client: Docker Engine - Enterprise Version: 19.03.5) on my server (Windows Server 2016). I then created the docker compose file to get the team-city and team city agent images. I am trying to build a linux image. I authorized the agent but it says:

"Incompatible runner: Docker"

 

My goal is to build a dotnet-core project and publish the image to a private registry. We are building the images for a Linux OS.

 

Here is the docker compose file

version: '3.1'

services:
teamcity:
image: jetbrains/teamcity-server:2018.2
ports:
- 9003:8111

teamcity-agent:
image: jetbrains/teamcity-agent:2018.2.1-windowsservercore-ltsc2016
environment:
- SERVER_URL=http://server:9003

volumes:
teamcity-server-datadir:
teamcity-server-logs:
teamcity-agent-conf:

networks:
default:
external:
name: nat

0

Please sign in to leave a comment.