Sign inSign up

docker/sbx-kit-lighthouse:latest

Multi-platform
Manifest digest

sha256:404bc35a9bb257de7695c7ba3800ae6095531341ee2e8eccfb0f50a38ef04f4f

Last pushed

9 days by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:404bc35a9bb257de7695c7ba3800ae6095531341ee2e8eccfb0f50a38ef04f4f

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