Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 4.56 KB

README.md

File metadata and controls

79 lines (58 loc) · 4.56 KB

Docker Azure DevOps agent

Docker image to run an Azure DevOps agent.

Information

Service Stats
Docker Build Pulls Stars Automated
GitHub Last commit Issues PR Size License

General

Topic Description
Image See Docker Hub.
Source See GitHub.

Installation

docker pull bbtsoftwareag/azure-devops-agent:ubuntu-16.04-azure-devops-server-2019

Tags

Tag Description Size
ubuntu-16.04-azure-devops-server-2019 Azure DevOps agent on Ubuntu 16.04 for Azure DevOps Server 2019 Size

Configuration

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).

Supported Azure Pipeline tasks

The following Azure Pipeline tasks are supported:

  • Archive Files
  • Extract Files

Samples

docker-compose

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

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