Files
azuredatastudio/build/tfs/linux/x64/run-agent.sh

15 lines
333 B
Bash

#!/bin/bash
if [ ! -f pat ]; then
echo "Error: file pat not found"
exit 1
fi
docker run \
-e VSTS_ACCOUNT="monacotools" \
-e VSTS_TOKEN="$(cat pat)" \
-e VSTS_AGENT="tb-lnx-x64-local" \
-e VSTS_POOL="linux-x64" \
-e VSTS_WORK="/var/vsts/work" \
--name "tb-lnx-x64-local" \
-it joaomoreno/vscode-vso-agent-x64:latest