docker-github-runner-linux
GitHub-Codespaces-Lab
docker-github-runner-linux | GitHub-Codespaces-Lab | |
---|---|---|
5 | 3 | |
28 | 5 | |
- | - | |
6.1 | 4.0 | |
2 days ago | 8 months ago | |
PowerShell | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-github-runner-linux
-
Hosting your self hosted runners on GitHub Codespaces
We will actually be using a very similar approach for the docker image configuration based on one of my previous blog posts, 'Create a Docker based Self Hosted GitHub runner Linux container'. So do check out that post also if you wanted more info on how self hosted GitHub runner containers work.
-
Run Docker based GitHub runner containers on Azure Container Apps (ACA)
You can use the following example workflow: kedaScaleTest.yml
-
Running Docker based GitHub runner containers on Azure Container Instances (ACI)
For this step I will use a PowerShell script, Prepare-RBAC-ACI.ps1 running Azure-CLI, to create a Resource Group and grant access to our GitHub Service Principal App we created in the previous post.
-
Storing Docker based GitHub runner containers on Azure Container Registry (ACR)
I hope you have enjoyed this post and have learned something new. You can find the code samples used in this blog post on my GitHub project: docker-github-runner-windows or docker-github-runner-linux. ❤️
-
Create a Docker based Self Hosted GitHub runner Linux container
Open VSCode, you can clone the repo found on my GitHub project docker-github-runner-linux which contains all the files or simply follow along with the following steps. We will prepare a script that will be needed as part of our docker image creation.
GitHub-Codespaces-Lab
-
Hosting Azure DevOps Pipelines agents on GitHub Codespaces
Create the following Dockerfile:
-
Hosting your self hosted runners on GitHub Codespaces
All of the code samples and examples are also available on my GitHub Codespaces Demo Repository.
-
Introduction to GitHub Codespaces - Building your first Dev Container
I hope you have enjoyed this post and have learned something new. You can also find the code samples used in this blog post on my published Github page. ❤️
What are some alternatives?
private-aks-cluster-terraform-devops - This sample shows how to create a private AKS cluster using Terraform and Azure DevOps
azure-pipelines-agent - Azure Pipelines Agent 🚀
runner - The Runner for GitHub Actions :rocket:
vscode-dev-containers - NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
wsl2-podman - Script for installing WSL2 + podman and podman-compose (or docker and docker-compose)
azure-container-apps - Roadmap and issues for Azure Container Apps
acr - Azure Container Registry samples, troubleshooting tips and references
docker-github-runner-windows - Repository for building a self hosted GitHub runner as a windows container