node-alpine image with chromium installed
3.1K
This Docker image provides a minimal Node.js environment bundled with the Chromium browser, tailored for testing purposes. It is based on the lightweight Alpine Linux distribution.
chromium-lang).This image is perfect for running automated tests that require both Node.js and a headless browser environment. It can be used for continuous integration pipelines, end-to-end testing, and other scenarios where Chromium is needed alongside Node.js.
To build the image with a different Node.js version, use the --build-arg parameter:
docker build --build-arg NODE_VERSION=24.18.0 -t chrome-with-node:24.18.0-alpine .
CHROME_BIN: Path to the Chromium binary (/usr/bin/chromium-browser)CHROME_PATH: Path to the Chromium installation directory (/usr/lib/chromium/)24.18.0-alpine24.14.1-alpine24.13.0-alpine24.11.1-alpine22.16.0-alpine20.15.0-alpineThis image is provided under the MIT License. See the LICENSE for more details.
ARG NODE_VERSION="24.18.0"
FROM node:${NODE_VERSION}-alpine
LABEL maintainer="[email protected]"
LABEL name="chrome-with-node:${NODE_VERSION}-alpine"
LABEL version="1.0.0"
LABEL version.node=${NODE_VERSION}
RUN apk add --no-cache \
chromium chromium-lang git openssh-client
ENV CHROME_BIN=/usr/bin/chromium-browser \
CHROME_PATH=/usr/lib/chromium/
Content type
Image
Digest
sha256:c385f43ec…
Size
372.3 MB
Last updated
4 months ago
docker pull etiennepasteur/chrome-with-node:26.3.1-alpine