https://github.com/trion-development/docker-chromium-lighthouse
Run lighthouse (or lhci) in docker with chromium
https://github.com/trion-development/docker-chromium-lighthouse
Last synced: 3 months ago
JSON representation
Run lighthouse (or lhci) in docker with chromium
- Host: GitHub
- URL: https://github.com/trion-development/docker-chromium-lighthouse
- Owner: trion-development
- Created: 2021-07-08T22:24:02.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-22T19:09:30.000Z (about 1 year ago)
- Last Synced: 2025-06-22T22:36:18.946Z (about 1 year ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lighthouse and Chromium
Docker image for Lighthouse and Chromium to use as CI container.
Image on DockerHub: https://hub.docker.com/r/trion/chromium-lighthouse/
Currently this image uses the latest Alpine distribution to get the latest chromium browser..
# Usage Examples
Run lighthouse
```
docker run --rm -u $(id -u) -v $(pwd):/app trion/chromium-lighthouse lighthouse https://www.google.de --chrome-flags="--headless --no-sandbox"
```
Run lhci
```
docker run --rm trion/chromium-lighthouse lhci --collect.url="https://www.google.de" --collect.settings.chromeFlags="--headless --no-sandbox" --upload.target=temporary-public-storage autorun
```
Run lhci locally with output to filesystem
```
docker run --rm -u $(id -u) -v $(pwd):/app trion/chromium-lighthouse lhci \
--collect.staticDistDir="/app/dist" --collect.isSinglePageApplication=true \
--collect.settings.chromeFlags="--headless --no-sandbox" \
--upload.target=filesystem --upload.outputDir=/app/lighthouse/report autorun
```
## ARM64 / mac M1
This image is provided as ARM64 (v8) linux image.
It runs on 64bit ARM like hardkernel ODROID or Raspberry Pi.
If you had success running it on mac M1, please open a feedback issue