{"id":24546659,"url":"https://github.com/devizer/azure-pipelines-agent-in-docker","last_synced_at":"2025-03-16T10:18:10.018Z","repository":{"id":44384259,"uuid":"245684489","full_name":"devizer/azure-pipelines-agent-in-docker","owner":"devizer","description":"azure pipelines agent in docker for armv7, aarch64 and x86_64","archived":false,"fork":false,"pushed_at":"2024-11-06T02:30:54.000Z","size":815,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T22:16:18.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devizer.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-07T18:28:28.000Z","updated_at":"2024-11-06T02:30:57.000Z","dependencies_parsed_at":"2024-03-19T17:51:18.381Z","dependency_job_id":"5c073877-5283-4183-a703-262c8a865677","html_url":"https://github.com/devizer/azure-pipelines-agent-in-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2Fazure-pipelines-agent-in-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2Fazure-pipelines-agent-in-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2Fazure-pipelines-agent-in-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devizer%2Fazure-pipelines-agent-in-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devizer","download_url":"https://codeload.github.com/devizer/azure-pipelines-agent-in-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852598,"owners_count":20358274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-22T22:16:26.345Z","updated_at":"2025-03-16T10:18:09.981Z","avatar_url":"https://github.com/devizer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### azure-pipeline-agent-in-docker\nAzure pipelines agent in docker for _**armv7**_, _**arm64**_, and _**x86_64**_\n\n### Key features\n- Preconfigured SystemD. Intended for background services testing. \n- Azure pipelines agent configured as SystemD service. Self-update is fully supported.\n- Pre-installed latest docker-compose and Docker CE client with experimental features such as buildx.\n- Pre-installed latest .Net core, Mono, Node LTS, NUnit \u0026 xUnit test runners, git, etc.\n- Supported 3 architectures: armv7, arm64 and x86_64.\n- Preconfigured `en_US.UTF8` as LC_ALL and LANG.\n\n| Image Tags | Base Image | SSL Ver | \n|------------|------------|---------|\n|focal, **latest**| Ubuntu 20.04 LTS, Focal Fossa|1.1.1f|\n|bionic |Ubuntu 18.04.5 LTS, Bionic Beaver|1.1.1|\n|xenial |Ubuntu 16.04.6 LTS, Xenial Xerus|1.0.2g|\n|buster|Debian 10.3, Buster|1.1.1d|\n|stretch|Debian 9.12, Stretch|1.1.0l, 1.0.2u|\n|jessie|Debian 8.11, Jessie|1.0.1t|\n\n### Pre-installed software\n\nHere is preinstalled soft for focal base image. Packages marked by asterisk are distribution independent for debian derivatives \n```\n  Build date:     2020-08-18 12:05:05 UTC\n  Base Image:     ubuntu:focal\n* dotnet sdk:     2.1.809, 2.2.402, 3.0.103, 3.1.401\n* pwsh:           PowerShell 6.2.4\n* mono:           Mono JIT compiler version 6.10.0.104 (tarball Fri Jun 26 19:44:58 UTC 2020)\n* msbuild:        16.6.0.32601\n* nuget:          NuGet Version: 5.5.0.6382\n* paket:          Paket version 5.249.2\n* libgdiplus:     6.0.5-0xamarin1+ubuntu2004b1\n* xunit.console:  xUnit.net Console Runner v2.4.1 (64-bit Desktop .NET 4.7.2, runtime: 4.0.30319.42000)\n* nunit3-console: NUnit Console Runner 3.11.1 (.NET 2.0)\n* node:           v12.18.3\n* npm:            6.14.8\n* yarn:           1.22.4\n  openssl:        OpenSSL 1.1.1f  31 Mar 2020\n  libssl:         libssl1.1\n* git:            git version 2.28.0\n* git lfs:        git-lfs/2.11.0 (GitHub; linux arm64; go 1.14.3; git 48b28d97)\n* docker:         Docker version 19.03.12, build 48a6621\n* docker-compose: docker-compose version 1.26.2, build unknown, OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020\n* go:             go version go1.14.3 linux/arm64\n  python3:        Python 3.8.2\n  pip3:           pip 20.2.2 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)\n  pip:            pip 20.2.2 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)\n  bash:           5.0.17(1)-release\n* sqlite3 shell:  3.33.0, 2020-08-14 13:23:32\n  mysql client:   /usr/bin/mysql  Ver 8.0.21-0ubuntu0.20.04.4 for Linux on aarch64 ((Ubuntu))\n  psql client:    psql (PostgreSQL) 12.2 (Ubuntu 12.2-4)\n  ruby:           ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [aarch64-linux-gnu]\n  gem:            3.1.2\n* deploy tools:   dpl (1.10.15), dpl-bintray (1.10.15), dpl-releases (1.10.15)\n\n```  \n### Create container and Configure azure pipelines agent\n```\n# Create container and make it start on boot\ndocker run -d --restart on-failure --privileged \\\n --name agent007 \\\n --hostname agent007 \\\n -v /sys/fs/cgroup:/sys/fs/cgroup \\\n -v /var/run/docker.sock:/var/run/docker.sock \\\n devizervlad/crossplatform-azure-pipelines-agent:latest\n\n# Configure azure pipelines agent \nHOST_DOCKER_GROUP_ID=$(getent group docker | awk -F: '{printf $3}')\ndocker exec -it agent007 bash -c '\n export HOST_DOCKER_GROUP_ID='$HOST_DOCKER_GROUP_ID';\n export VSTS_URL=\"https://devizer.visualstudio.com/\";\n export VSTS_PAT=\u003cyour agent pool token\u003e;\n export VSTS_POOL=my-pool;\n export VSTS_AGENT=my-agent-007; \n export VSTS_WORK=work;\n /pre-configure/config-agent.sh'\n```\n\n### Troubleshooting\n```\nsystemctl status azure-pipelines-agent\njournalctl -u azure-pipelines-agent\ncat /home/user/azure-pipelines-agent/_diag/*.log\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevizer%2Fazure-pipelines-agent-in-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevizer%2Fazure-pipelines-agent-in-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevizer%2Fazure-pipelines-agent-in-docker/lists"}