CentOS 8 based Azure DevOps (ADO) build agent image.
You'll need the following in order to run this container:
AZP_URL
ADO project URLAZP_TOKEN
ADO personal access token (PAT)AZP_POOL
ADO agent poolAZP_AGENT_NAME
A name for your agent (whatever you'd like!)
To run normally:
docker run \
-e AZP_URL='https://dev.azure.com/my_project' \
-e AZP_TOKEN='12345abcde' \
-e AZP_POOL='my_pool' \
-e AZP_AGENT_NAME='my_agent' \
saccy/azp-agent
To run behind a proxy that requires username and password:
docker run \
-e AZP_URL='https://dev.azure.com/my_project' \
-e AZP_TOKEN='12345abcde' \
-e AZP_POOL='my_pool' \
-e AZP_AGENT_NAME='my_agent' \
-e PROXY_URL='https://my_proxy:8000' \
-e PROXY_USER='my_proxy_user' \
-e PROXY_PASS='12345abcde' \
saccy/azp-agent
To run behind a proxy that does not require authentication:
docker run \
-e AZP_URL='https://dev.azure.com/my_project' \
-e AZP_TOKEN='12345abcde' \
-e AZP_POOL='my_pool' \
-e AZP_AGENT_NAME='my_agent' \
-e PROXY_URL='https://my_proxy:8000' \
saccy/azp-agent
- Add alpine base
twitter: @the_last_saccy
blog: blog.headsup.dev