{"id":20012105,"url":"https://github.com/meysam81/gh-cli","last_synced_at":"2026-02-19T02:03:33.375Z","repository":{"id":262559394,"uuid":"887648608","full_name":"meysam81/gh-cli","owner":"meysam81","description":"gh CLI Docker Image in a busybox","archived":false,"fork":false,"pushed_at":"2026-01-25T09:48:13.000Z","size":269,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T00:29:16.469Z","etag":null,"topics":["cli-tool","command-line","containerization","continuous-integration","development-tools","devops","distroless","docker","docker-image","github-actions","github-api","github-automation","github-cli","github-integration","github-workflow","golang","minimal-image","open-source","productivity","software-development"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meysam81.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-13T03:23:12.000Z","updated_at":"2026-01-25T10:25:21.000Z","dependencies_parsed_at":"2024-12-04T01:20:23.752Z","dependency_job_id":"f3896893-b498-4100-aae2-64988e378ef7","html_url":"https://github.com/meysam81/gh-cli","commit_stats":null,"previous_names":["meysam81/gh-cli"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/meysam81/gh-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fgh-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fgh-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fgh-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fgh-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meysam81","download_url":"https://codeload.github.com/meysam81/gh-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysam81%2Fgh-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29600851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T00:59:38.239Z","status":"online","status_checked_at":"2026-02-19T02:00:07.702Z","response_time":117,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli-tool","command-line","containerization","continuous-integration","development-tools","devops","distroless","docker","docker-image","github-actions","github-api","github-automation","github-cli","github-integration","github-workflow","golang","minimal-image","open-source","productivity","software-development"],"created_at":"2024-11-13T07:28:46.280Z","updated_at":"2026-02-19T02:03:33.367Z","avatar_url":"https://github.com/meysam81.png","language":"Dockerfile","readme":"# BusyBox-based Dockerized GitHub CLI\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n- [Overview](#overview)\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n  - [Pull from GitHub Container Registry](#pull-from-github-container-registry)\n- [Usage](#usage)\n  - [Basic Usage](#basic-usage)\n  - [Shell Access](#shell-access)\n- [Configuration](#configuration)\n- [Security Considerations](#security-considerations)\n- [Signature Verification](#signature-verification)\n  - [Cosign Keyless Verification](#cosign-keyless-verification)\n    - [Verification Process](#verification-process)\n    - [Verification Details](#verification-details)\n    - [Security Benefits](#security-benefits)\n- [Versioning](#versioning)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Overview\n\nThis repository provides a minimal, secure Dockerized GitHub CLI built on a\nBusyBox base image.\n\nThe GitHub CLI (`gh`) is packaged into a lightweight, secure container that can\nbe used across different environments without complex dependencies.\n\n## Features\n\n- Minimal BusyBox base image for smallest footprint\n- Multi-architecture support (amd64, arm64)\n- Latest stable version GitHub CLI (automated using GitHub Actions)\n- Multi-stage build for optimization\n- Non-root user execution (UID 10000)\n- No package manager in final image\n- Minimal shell access for debugging when needed\n- Easy cross-platform deployment\n\n## Prerequisites\n\n- Docker 20.10+\n- GitHub CLI authentication token (optional)\n\n## Installation\n\n### Pull from GitHub Container Registry\n\nLatest version:\n\n```bash\ndocker pull ghcr.io/meysam81/gh-cli:main\n```\n\nStable version:\n\n```bash\nurl=https://api.github.com/repos/meysam81/gh-cli/releases/latest\nversion=$(curl -s $url | jq -r .tag_name)\ndocker pull ghcr.io/meysam81/gh-cli:$version\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\ndocker run --rm -it \\\n  -e GH_TOKEN \\\n  ghcr.io/meysam81/gh-cli:main repo list\n```\n\n### Shell Access\n\nFor debugging purposes, you can access the container shell:\n\n```bash\ndocker run --rm -it --entrypoint /bin/sh ghcr.io/meysam81/gh-cli:main\n```\n\n## Configuration\n\n- Mount `/home/gh/.config/gh` to persist authentication\n- Use environment variables for additional configuration\n- Supports all standard GitHub CLI commands\n\n## Security Considerations\n\n- Minimal BusyBox base image reduces attack surface\n- Runs as non-root user (UID 10000)\n- No package manager in final image\n- Cryptographic checksum verification during build\n- BusyBox shell available for restricted debugging only\n\n## Signature Verification\n\n### Cosign Keyless Verification\n\nThis Docker image is signed using\n[Sigstore Cosign](https://github.com/sigstore/cosign) with keyless\nverification.\n\nYou can verify the image's authenticity using GitHub Actions identity\nverification.\n\n#### Verification Process\n\n```bash\ncosign verify \\\n  --certificate-oidc-issuer \"https://token.actions.githubusercontent.com\" \\\n  --certificate-identity-regexp \"^https://github.com/meysam81/gh-cli.*$\" \\\n  ghcr.io/meysam81/gh-cli:main\n```\n\n#### Verification Details\n\n- **Signing Method**: Cosign keyless signing\n- **Identity Verification**: GitHub Actions workflow identity\n- **OIDC Issuer**: GitHub Actions token service\n- **Signature Validation**: Cryptographic proof of origin and integrity\n\n#### Security Benefits\n\n- Cryptographically prove the image's origin\n- Ensure the image was built by the authorized GitHub Actions workflow\n- Prevent tampering and unauthorized image distribution\n\n**Note:** Requires [Cosign](https://github.com/sigstore/cosign) installation to perform verification.\n\n## Versioning\n\n- Image tracks GitHub CLI version\n- Semantic versioning used for tagging\n- Check [CHANGELOG.md](CHANGELOG.md) for details\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch\n3. Commit changes\n4. Push to the branch\n5. Create a Pull Request\n\n## License\n\n[Apache 2.0 License](LICENSE)\n\n---\n\n**Pro Tip:** Always keep your GitHub CLI and Docker image updated for the\nlatest features and security patches!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysam81%2Fgh-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeysam81%2Fgh-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysam81%2Fgh-cli/lists"}