Sign inSign up

sbx/lighthouse:latest

Multi-platform
Manifest digest

sha256:7608a162701e75ea3a592b348e485718bf5335580b6e6b5b0bf2a389f944f7a5

Last pushed

about 8 hours by sbx

Type

Sandbox Kit

Manifest digest

sha256:7608a162701e75ea3a592b348e485718bf5335580b6e6b5b0bf2a389f944f7a5

yaml
schemaVersion: "3"
displayName: Lighthouse
description: Google Lighthouse CLI for auditing performance, accessibility, SEO, and best practices — headless Chromium included so agents can score pages served inside the sandbox.
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        install:
            allow:
                - deb.debian.org
                - dhi.io
                - archive.ubuntu.com
                - security.ubuntu.com
                - ports.ubuntu.com
                - download.docker.com
                - cli.github.com
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: |
                set -euo pipefail
                if ! command -v node >/dev/null 2>&1; then
                  apt-get update
                  apt-get install -y --no-install-recommends nodejs-24
                fi
                node /usr/local/lib/lighthouse-kit/node_modules/playwright-core/cli.js install-deps chromium
                rm -rf /var/lib/apt/lists/*
              description: Install Node and Chromium system libraries
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
              user: "0"
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/lighthouse/lighthouse-context.md