docker/chrome/README.md
This directory defines Karakeep's minimal Chrome Headless Shell image.
This image is built on top of (https://github.com/chromedp/docker-headless-shell).
Run Karakeep's e2e suite, which builds this image through its Compose file and exercises it through the real crawler:
pnpm --filter @karakeep/e2e_tests test
The crawler tests cover Playwright compatibility, context creation, local-page navigation, JavaScript execution, request routing, the CDP redirect guard, screenshots, and PDFs. The image workflow verifies that the image builds on both native target architectures before publishing.
chromedp/headless-shell version that supports both target
architectures.docker buildx imagetools inspect.Dockerfile and the version and image
revision in .github/workflows/chrome.yml.Chrome Image workflow from main.
Publishing is gated by the chrome-production GitHub environment.Use -r1 for a new browser version. Increment the revision for a packaging-only
change. Never reuse or mutate a published versioned tag. Each release also moves
the latest and release tags to the newly published manifest. They currently
move together but may use separate promotion policies in the future.