Skip to content

browser: chromium apt package is a broken snap stub on Ubuntu bases #292

Description

@initializ-mk

Summary

The well-known image registry entry for chromium (forge-skills/registry/image-registry.yaml) was set to apt: chromium in PR #260, which is correct for the default Debian bookworm-slim base. On Ubuntu bases, however, chromium is a snap transitional stub that fails inside Docker (no snapd) — so a browser agent built on an Ubuntu base would install a broken browser.

The registry already models this base-image distinction for playwright via requires_ubuntu, but not for chromium.

Proposed fix

Make the chromium install base-image-aware:

  • Debian → apt: chromium
  • Ubuntu → the real .deb (e.g. a PPA / direct download), not the snap stub

Mirror the requires_ubuntu modeling already used for playwright, or add per-base apt package selection.

Context

Minor/nit from the PR #260 review. Non-blocking (the default base is Debian, where the current entry is correct), but worth its own change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingforge-cliAffects the forge-cli command-line tool (init, run, build, mcp commands)toolsAffects builtin or adapter tools (cli_execute, http_request, browser, etc.)

    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