HUB
Sign inSign up

sbx/lighthouse:latest

Multi-platform
Manifest digest

sha256:ba97b7d56546fe17ab9ee2d29ff4ffe60672c9ada961e4b865e2a2ba009b76e4

Last pushed

about 7 hours by sbx

Type

Sandbox Kit

Manifest digest

sha256:ba97b7d56546fe17ab9ee2d29ff4ffe60672c9ada961e4b865e2a2ba009b76e4

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