Docker image to run an Azure DevOps agent.
Service | Stats |
---|---|
Docker | |
GitHub |
Topic | Description |
---|---|
Image | See Docker Hub. |
Source | See GitHub. |
docker pull bbtsoftwareag/azure-devops-agent:ubuntu-16.04-azure-devops-server-2019
Tag | Description | Size |
---|---|---|
ubuntu-16.04-azure-devops-server-2019 | Azure DevOps agent on Ubuntu 16.04 for Azure DevOps Server 2019 |
These environment variables are supported:
ENV field | Description |
---|---|
TZ | Timezone to set, e.g. Europe/Zurich . |
AZP_URL | The URL of the Azure DevOps or Azure DevOps Server instance. |
AZP_TOKEN | Personal Access Token (PAT) granting access to AZP_URL . |
AZP_AGENT_NAME | Agent name (default value: the container hostname). |
AZP_POOL | Agent pool name (default value: Default ). |
AZP_WORK | Work directory (default value: _work ). |
The following Azure Pipeline tasks are supported:
- Archive Files
- Extract Files
version: '3.7'
services:
app:
image: bbtsoftwareag/azure-devops-agent:ubuntu-16.04-azure-devops-server-2019
environment:
- TZ=Europe/Zurich
- AZP_URL=https://tfs.tempuri.org
- AZP_TOKEN=tmk6je86ta8hvis7uk9csm9sncwrnuhjaxeqg5g6pe732cucby
- AZP_AGENT_NAME=my-agent01
networks:
- default
docker run -d \
-e TZ=Europe/Zurich \
-e AZP_URL=https://tfs.tempuri.org \
-e AZP_TOKEN=tmk6je86ta8hvis7uk9csm9sncwrnuhjaxeqg5g6pe732cucby \
-e AZP_AGENT_NAME=my-agent01 \
bbtsoftwareag/azure-devops-agent:ubuntu-16.04-azure-devops-server-2019