Skip to content

chore(dogfood): add Firefox to base images#26087

Closed
bpmct wants to merge 1 commit into
mainfrom
add-firefox-to-dogfood
Closed

chore(dogfood): add Firefox to base images#26087
bpmct wants to merge 1 commit into
mainfrom
add-firefox-to-dogfood

Conversation

@bpmct

@bpmct bpmct commented Jun 5, 2026

Copy link
Copy Markdown
Member

Chrome 148 crashes with Trace/breakpoint trap (exit code 133) inside
the dogfood container environment, making it unusable for AI agents and
the portabledesktop browser preview. Firefox provides a working
alternative.

This PR installs Firefox from Mozilla's official APT repository in both
the ubuntu-22.04 and ubuntu-26.04 dogfood base images. Both Ubuntu
versions only ship Firefox as a snap, which does not work in Docker
containers.

  • Adds Mozilla APT repo with signing key, pinned at priority 1000 to
    ensure it wins over the snap transitional package
  • Uses --allow-downgrades in case the snap transitional package is
    already present
  • Tested on the current dogfood image: installs Firefox 151.0.3 and
    creates /usr/share/applications/firefox.desktop

The portabledesktop dock already has firefox.desktop in its curated
priority list (#2 after Chrome), so Firefox will automatically appear
in the taskbar once the image is rebuilt.


Closing: Chrome works fine when launched via portabledesktop open -- google-chrome-stable instead of directly. The crashpad/ptrace issue is handled internally by portabledesktop. No need for Firefox as a workaround.

Install Firefox from Mozilla's official APT repository in both the
ubuntu-22.04 and ubuntu-26.04 dogfood base images. Both Ubuntu versions
only ship Firefox as a snap, which does not work in Docker containers.

The Mozilla APT repo is pinned at priority 1000 to ensure Mozilla's
build is preferred over any Ubuntu transitional snap package.
--allow-downgrades handles the case where the snap transitional package
is already present.

Tested on the current dogfood image: installs Firefox 151.0.3 and
creates /usr/share/applications/firefox.desktop, which portabledesktop
already has in its curated dock list at priority #2.
@bpmct bpmct changed the title dogfood: add Firefox to base images chore(dogfood): add Firefox to base images Jun 5, 2026
@bpmct bpmct closed this Jun 5, 2026
@linear-code

linear-code Bot commented Jun 5, 2026

Copy link
Copy Markdown

CODAGT-553

CODAGT-560

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant