https://github.com/physer/azure-devops-agent
A ready-to-go buildagent for Azure DevOps in Docker (Ubuntu)
https://github.com/physer/azure-devops-agent
azure-devops docker
Last synced: about 1 month ago
JSON representation
A ready-to-go buildagent for Azure DevOps in Docker (Ubuntu)
- Host: GitHub
- URL: https://github.com/physer/azure-devops-agent
- Owner: Physer
- Created: 2020-06-12T09:15:22.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T14:56:45.000Z (over 2 years ago)
- Last Synced: 2025-01-11T23:16:45.093Z (over 1 year ago)
- Topics: azure-devops, docker
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure DevOps Agent
## Introduction
This repository houses a pre-fab buildagent for Azure Devops in Docker.
## Source
The source for this buildagent can be found at Microsoft's documentation regarding [Docker agents for Azure Devops](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops)
## How to use
Create a container based on this Docker image, [hosted at the Docker hub](https://hub.docker.com/r/physer/azuredevops-agent).
For more information on the required environment variables, see [Microsoft's documentation](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops#environment-variables).
You can use the following `docker run` command. Be sure to replace the environment variable's values with your organization values: `docker run --name selfhosted_agent -d -e AZP_URL=https://dev.azure.com/organizationname -e AZP_TOKEN=personalaccesstoken -e AZP_AGENT_NAME=selfhosted_devops_agent -e AZP_POOL="Self-hosted agents" physer/azuredevops-agent:latest`
There is also a `compose.yaml` file using `Docker Compose` for easy local testing. If you want to use this, be sure to copy over `.env.example` and rename the copy to `.env`. Fill the environment variables correctly as specified above.
## Additional software
Some additional software has been installed on this image:
- NodeJS v22.15
- Azure CLI
- Azure Function Core Tools (v4)