Sign inSign up

brysontai1314/azure-devops-agent

By brysontai1314

•Updated over 1 year ago

ADO Agent on Alpine Linux with Python 3, Node.js, .NET SDK, Docker CLI with Plugins, and Azure CLI

Image
Integration & delivery
Developer tools
Operating systems
0

131

brysontai1314/azure-devops-agent repository overview

This image contains Azure DevOps Pipeline Agent on Alpine Based Image with Python 3, Node.js, .NET SDK, Docker CLI with Buildx Plugins, and Azure CLI.

⁠Environment Setup

These Environments Variables are required to setup:

export AZP_POOL="Default"
export AZP_URL="https://dev.azure.com/<your_organization>"
export AZP_AGENT_NAME="<your_agent_name>"

# Replace with your actual Azure DevOps Personal Access Token (PAT) with "Agent Pools (read, manage)" scope.
# Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/personal-access-token-agent-registration?view=azure-devops#create-a-personal-access-token-for-agent-registration
export AZP_TOKEN="<your_personal_access_token>"

⁠Deployment

⁠Docker
docker run --rm \
  --name ado-agent \
  -v "/var/run/docker.sock:/var/run/docker.sock" \
  -e AZP_URL="$AZP_URL" \
  -e AZP_TOKEN="$AZP_TOKEN" \
  -e AZP_POOL="$AZP_POOL" \
  -e AZP_AGENT_NAME="$AZP_AGENT_NAME" \
  brysontai1314/azure-devops-agent:alpine-3.22
⁠Helm

May get ADO Agent Helm Chart from ADO Pipeline Helm Chart⁠

docker run --rm \
  --name ado-agent \
  -v "/var/run/docker.sock:/var/run/docker.sock" \
  -e AZP_URL="$AZP_URL" \
  -e AZP_TOKEN="$AZP_TOKEN" \
  -e AZP_POOL="$AZP_POOL" \
  -e AZP_AGENT_NAME="$AZP_AGENT_NAME" \
  brysontai1314/azure-devops-agent:alpine-3.22

Tag summary

Content type

Image

Digest

sha256:be5581721…

Size

529.7 MB

Last updated

over 1 year ago

docker pull brysontai1314/azure-devops-agent:alpine-3.22