Skip to content

Install ripgrep in the universal base image #180

Description

@danchild

Problem

The container agent prefers rg (ripgrep) for code search but it isn't installed in the base image. When it's missing, the agent falls back to a slower Python grep implementation:

2026-07-17 16:53:47,696 [INFO] ripgrep ('rg') not found on PATH; using Python grep fallback.
Install ripgrep for faster searches and automatic .gitignore handling.

Recommendation

Add ripgrep to the universal base image so the agent gets:

  • Faster searches — ripgrep is significantly faster than the Python fallback, especially on large repos
  • Automatic .gitignore handling — ripgrep respects ignore files by default, reducing noise in search results
  • Better agent performance — less time spent on code search means more time for implementation

Suggested change

Add ripgrep to the package install step in the container image build (e.g. dnf install -y ripgrep for UBI or apt-get install -y ripgrep for Debian-based images).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions