Sign inSign up

sbx/lighthouse:latest

Multi-platform
Manifest digest

sha256:e2401da34e0cf6d5704cd8785d1bc99789c9d359404d4414bdda69827bcbc911

Last pushed

about 4 hours by sbx

Type

Sandbox Kit

Manifest digest

sha256:e2401da34e0cf6d5704cd8785d1bc99789c9d359404d4414bdda69827bcbc911

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:
                - archive.ubuntu.com
                - security.ubuntu.com
                - ports.ubuntu.com
                - download.docker.com
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: |
                set -euo pipefail
                node /usr/local/lib/lighthouse-kit/node_modules/playwright-core/cli.js install-deps chromium
                rm -rf /var/lib/apt/lists/*
              description: Install Chromium's system libraries via apt — the overlay carries the browser tree, apt packages cannot travel in one
              env:
                - HTTP_PROXY
                - HTTPS_PROXY
              user: "0"
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/lighthouse/lighthouse-context.md