Skip to content

Consider expanding image to include deps for playwright #93

@extremeheat

Description

@extremeheat

Currently, using playwright in codex cloud requires doing long manual installs of system packages on image boot via npx playwright install --with-deps chromium.
Either adding a new image with the relevant rendering libs needed for chromium preinstalled or expanding the universal image would be nice. Right now it takes quite a while to wait for basic webdev system boilerplate to install:

Chromium Headless Shell 

Playwright Host validation warning:
╔══════════════════════════════════════════════════════╗
║ Host system is missing dependencies to run browsers. ║
║ Please install them with the following command:      ║
║                                                      ║
║              npx playwright install-deps             ║
║                                                      ║
║ Alternatively, use apt:                              ║
║ apt-get install libatk1.0-0t64\                      ║
║                 libatk-bridge2.0-0t64\               ║
║                 libcups2t64\                         ║
║                 libxkbcommon0\                       ║
║                 libatspi2.0-0t64\                    ║
║                 libxcomposite1\                      ║
║                 libxdamage1\                         ║
║                 libxfixes3\                          ║
║                 libxrandr2\                          ║
║                 libgbm1\                             ║
║                 libasound2t64                        ║
║                                                      ║
║ <3 Playwright Team                                   ║
╚══════════════════════════════════════════════════════╝

at validateDependenciesLinux (/workspace)
at async Registry._validateHostRequirements (/workspace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions