Alpine chrome — screenshot of github.com

Alpine chrome

This is a lightweight Docker image for running headless Chrome based on Alpine Linux. I find it ideal for CI/CD environments or automated tasks needing a browser without GUI overhead.

Visit github.com →

Questions & Answers

What is alpine-chrome?
alpine-chrome is a Docker image that provides a headless version of Chrome, built on a tiny Alpine Linux base. It enables running Chrome's rendering engine in environments without a graphical user interface.
Who is alpine-chrome designed for?
It's intended for developers and teams requiring automated browser tasks in server environments, such as running end-to-end tests, generating screenshots, or performing web scraping.
How does alpine-chrome compare to other headless browser solutions?
alpine-chrome's primary differentiator is its minimal footprint due to the Alpine Linux base, resulting in a significantly smaller Docker image compared to solutions based on larger operating systems. It also integrates well with tools like Puppeteer and Playwright.
When should I use alpine-chrome?
Use alpine-chrome for scenarios like continuous integration (CI) pipelines for web application testing, generating reports or PDFs from web content, or any automated task that requires a browser engine without a visual display.
What are the recommended security practices when running alpine-chrome?
The project recommends using a seccomp profile, specifically `chrome.json`, to enhance security by restricting system calls available to the Chrome process within the container. Running with `--no-sandbox` is an option but requires careful consideration of the target websites' trustworthiness.