tool-containers
Menu
GitHub (opens in new tab)

Open Code Review

Alibaba's Open Code Review (opens in new tab) CLI, ocr, on the devbox development image. ocr sends your uncommitted changes, a commit, or a branch range to the LLM provider you configure and prints review findings. The entrypoint is ocr, and the container starts in /workspace as sysadmin (UID 1000). No credentials are stored in the image.

Images
  • GHCRghcr.io/hambn/open-code-review
  • Docker Hubdocker.io/hambn/open-code-review
Upstream
github.com/alibaba/open-code-review (opens in new tab)
Source
tools/ai/open-code-review (opens in new tab)
On this page

Images

Pull ghcr.io/hambn/open-code-review:<tag> or docker.io/hambn/open-code-review:<tag>. open-code-review-<version> names the npm release in the current ubuntu build. All tags move when the image is rebuilt; pin a digest to keep one build.

Included software

Git, Node.js, Python, Go, the Docker CLI, and the other devbox tools come from the devbox full tier. The *-browser variants add the browser tier.

Use cases

  • Review the current checkout with Docker, including hosts that load the image from a saved tar.
  • Repeatable local reviews with Docker Compose, with an air-gapped Compose file.
  • Rootless reviews on a workstation with Podman.
  • Code review in CI on GitHub pull requests with GitHub Actions or on GitLab merge requests with GitLab CI.

Sources

Topics