Sign inSign up

genv/lighthouse

By genv

•Updated 24 days ago

A Lighthouse Chromium image

Image
1

4.6K

genv/lighthouse repository overview

⁠Docker Lighthouse

Docker

A Lighthouse⁠ Chromium Docker image.

⁠Example Usage

Return a HTML report:

docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output-path=stdout

Generate and save a HTML report to the current working directory:

docker run -v "$(pwd):/home/lighthouse/reports/" --cap-add=SYS_ADMIN genv/lighthouse <url>

Return a JSON report:

docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output=json --output-path=stdout

Write a JSON report to disk:

docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output=json --output-path=stdout > $(date +%s)_report.json

Save multiple reports to the current working directory:

docker run -v "$(pwd):/home/lighthouse/reports/" --cap-add=SYS_ADMIN genv/lighthouse <url> --output=csv,json,html

For a full list of options see:

docker run genv/lighthouse --help

Tag summary

Content type

Image

Digest

sha256:570eb1665…

Size

531.3 MB

Last updated

24 days ago

docker pull genv/lighthouse