A Docker Compose configuration to run a self-hosted Azure Pipelines Agent including some languages and tools that I use frequently in my pipelines.
- Clone this repository.
- Copy
.env.example
to.env
and modify the variables. - Run
docker-compose up -d
. - After the agent shows up in the pool, click on the agent, go to Capabilities and add a user-defined capability with
java
as name and an empty value.