I'd like to run CI tests with a headless browser.
Minimal error message reproduction:
docker run -ti nixery.dev/shell/chromium chromium-browser --headless --no-sandbox
I get two errors:
Failed resolution attempts:
- Adding a fontconfig file manually. Makes the error message go away, but second error remains and chromium is aborting
- Tried google-chrome instead
- Added other packages, like dbus, dependencies mentioned in chromium-browser source nix files
What am I missing? Do I need to start dbus somehow? Add a specific package?
I'm grateful for hints :-)