chore(dogfood): add Firefox to base images#26087
Closed
bpmct wants to merge 1 commit into
Closed
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chrome 148 crashes with
Trace/breakpoint trap(exit code 133) insidethe 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.
ensure it wins over the snap transitional package
--allow-downgradesin case the snap transitional package isalready present
creates
/usr/share/applications/firefox.desktopThe portabledesktop dock already has
firefox.desktopin its curatedpriority 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-stableinstead of directly. The crashpad/ptrace issue is handled internally by portabledesktop. No need for Firefox as a workaround.