Skip to content

dogtail9/vsts-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerized vsts-agents based on Windows and Linux

This project contains the dockerfiles for Dogtail9 containerized VSTS Agents

Build images

Windows images

docker build -t="dogtail9/vsts-agent-windows-base" -f="Dockerfile.Windows.Base" .
docker build -t="dogtail9/vsts-agent-windows-dotnetcore" -f="Dockerfile.Windows.DotNetCore" .
docker build -t="dogtail9/vsts-agent-windows-node" -f="Dockerfile.Windows.NodeJS" .
docker build -t="dogtail9/vsts-agent-windows-grunt" -f="Dockerfile.Windows.Grunt" .
docker build -t="dogtail9/vsts-agent-windows-singlefile" -f="Dockerfile.Windows.SingleFile" .

Linux images

docker build -t="dogtail9/vsts-agent-ubuntu-base" -f="Dockerfile.Ubuntu.Base" .
docker build -t="dogtail9/vsts-agent-ubuntu-node" -f="Dockerfile.Ubuntu.NodeJS" .

Run container

Required parameters

docker run -e VSTS_ACCOUNT=<ACOUNT> -e VSTS_TOKEN=<TOKEN> -it <IMAGE>

Optional parameters

docker run -e VSTS_ACCOUNT=<ACOUNT> -e VSTS_TOKEN=<TOKEN> -e VSTS_AGENT=[NAME] -e VSTS_POOL=[NAME]-e VSTS_WORK=[PATH] -it <IMAGE>

Windows

docker run --rm -e VSTS_ACCOUNT=<ACCOUNT> -e VSTS_TOKEN=<TOKEN> -it dogtail9/vsts-agent-windows-base
docker run --rm -e VSTS_ACCOUNT=<ACCOUNT> -e VSTS_TOKEN=<TOKEN> -it dogtail9/vsts-agent-windows-node
docker run --rm -e VSTS_ACCOUNT=<ACCOUNT> -e VSTS_TOKEN=<TOKEN> -it dogtail9/vsts-agent-windows-grunt

Specify the agent name

docker run --rm -e VSTS_ACCOUNT=<ACCOUNT> -e VSTS_TOKEN=<TOKEN> -e VSTS_AGENT=<NAME> -it dogtail9/vsts-agent-windows-singlefile

Linux

docker run --rm -e VSTS_ACCOUNT=<ACOUNT> -e VSTS_TOKEN=<TOKEN> -it microsoft/vsts-agent:ubuntu-16.04-2.107.1
docker run --rm -e VSTS_ACCOUNT=<ACOUNT> -e VSTS_TOKEN=<TOKEN> -it dogtail9/vsts-agent-ubuntu-base
docker run --rm -e VSTS_ACCOUNT=<ACOUNT> -e VSTS_TOKEN=<TOKEN> -it dogtail9/vsts-agent-ubuntu-node

ARM Template

About

Containerized VSTS Agents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published