Simple container running in alpine Linux to run the github cli seamlessly for use anywhere
Very useful in projects using docker in their CI processes
https://github.com/maniator/gh
https://hub.docker.com/r/maniator/gh/tags/
docker run -it --rm -v ${HOME}:/root -v $(pwd):/gh -e GITHUB_TOKEN=<token> maniator/gh <command>
alias gh="docker run -ti --rm -v ${HOME}:/root -v $(pwd):/gh maniator/gh"
for example, if you need clone this repository, with the alias you just set, you can run it as local command
gh repo clone serveside/gh