Skip to content

Add gh, ripgrep, and common CLI tools to backend image#660

Merged
Mng-dev-ai merged 1 commit into
mainfrom
chore/dockerfile-agent-cli-tools
Jun 21, 2026
Merged

Add gh, ripgrep, and common CLI tools to backend image#660
Mng-dev-ai merged 1 commit into
mainfrom
chore/dockerfile-agent-cli-tools

Conversation

@Mng-dev-ai

Copy link
Copy Markdown
Owner

Summary

  • Coding agents (claude-code, codex, etc.) run inside the backend container and reach for CLI tools the slim base image doesn't ship.
  • Adds gh (GitHub CLI, via GitHub's apt source), ripgrep, fd, jq, less, tree, and unzip.
  • Reorders the RUN so curl/ca-certificates/gnupg install first — required to fetch the gh apt source before the main package install.

Test plan

  • docker build -f backend/Dockerfile . completes successfully
  • In the built image, gh --version, rg --version, fd --version, and jq --version all resolve

Coding agents (claude-code, codex, etc.) run inside the backend
container and reach for these tools, but the slim base image lacks
them. Adds gh (via GitHub's apt source), ripgrep, fd, jq, less,
tree, and unzip. Installs curl/ca-certificates first so the gh
apt source can be fetched.
@Mng-dev-ai Mng-dev-ai marked this pull request as ready for review June 21, 2026 19:45
@Mng-dev-ai Mng-dev-ai merged commit 28c486e into main Jun 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant