A Lighthouse Docker image using Debian and Chromium.
Return a HTML report:
docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output-path=stdoutGenerate 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=stdoutWrite a JSON report to disk:
docker run --cap-add=SYS_ADMIN genv/lighthouse <url> --output=json --output-path=stdout > $(date +%s)_report.jsonSave multiple reports to the current working directory:
docker run -v "$(pwd):/home/lighthouse/reports/" --cap-add=SYS_ADMIN genv/lighthouse <url> --output=csv,json,htmlFor a full list of options see:
docker run genv/lighthouse --help