Welcome to GitHub CLI
This Docker image provides a lightweight environment to run the GitHub CLI (gh) on a Debian-based system. It’s perfect for integrating GitHub commands into your CI/CD pipelines or any automated workflows.
debian:trixie-slim for a minimal footprint.curlgitjqca-certificatesMake sure you have Docker installed on your machine. You can download it from Docker's official website.
To build the Docker image, navigate to the directory containing the Dockerfile and run:
docker build -t github-cli .
To run the GitHub CLI in a new container, use:
docker run --rm -it github-cli
You can pass any gh command as an argument. For example:
docker run --rm -it github-cli auth login
Once inside the container, you can use the gh commands just like you would on your local machine. For example:
gh repo list
If you want to contribute to this project, feel free to fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy using the GitHub CLI in your Dockerized environments!
Content type
Image
Digest
sha256:90dbc9871…
Size
77 MB
Last updated
over 1 year ago
docker pull macabrequinox/ghcli