Sign inSign up

chernitsov/node-chrome-playwright

By chernitsov

•Updated about 1 month ago

A universal CI-ready Docker image

Image
Integration & delivery
Developer tools
0

391

chernitsov/node-chrome-playwright repository overview

⁠🧩 Node 22 + Chrome / Chromium + Playwright + AWS CLI (v2)

A universal CI-ready Docker image for end-to-end testing, builds, and deployments. Optimized for GitLab CI, GitHub Actions, and local development.


⁠🚀 Features
  • Node 22.14 (Debian Bookworm Slim base)
  • Google Chrome (amd64) / Chromium (arm64)
  • Playwright + Chromium (includes browser dependencies)
  • AWS CLI v2 for deployments, S3, CloudFront, and ECR
  • jq, curl, wget, unzip, fonts-liberation, fonts-noto-color-emoji

Multi‑arch build: ✅ linux/amd64 ✅ linux/arm64


⁠🧱 Usage
docker run --rm chernitsov/node-chrome-playwright:22.14-aws \
  bash -lc 'node -v; aws --version; google-chrome --version || chromium --version'
⁠GitLab CI Example
image: chernitsov/node-chrome-playwright:22.14-aws

stages: [test]

test:
  stage: test
  script:
    - node -v
    - aws --version
    - bash -lc 'google-chrome --version || chromium --version'
    - playwright --version

⁠🧰 Build and Publish (Multi‑Arch via Buildx)
# One-time setup (per host)
docker run --privileged --rm tonistiigi/binfmt --install all
docker buildx create --use

# Multi‑arch build & push
IMG=chernitsov/node-chrome-playwright
TAG=22.14-aws

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  -t $IMG:$TAG -t $IMG:latest \
  --push .

⁠🔍 Verify
docker buildx imagetools inspect chernitsov/node-chrome-playwright:22.14-aws
# → Platforms: linux/amd64, linux/arm64

⁠🧩 Notes
  • amd64 → Google Chrome (official package)
  • arm64 → Chromium (Debian package, symlinked as google-chrome)
  • Playwright also installs its own Chromium for testing

⁠✨ Tags
TagDescription
22.14-awsNode 22.14 + Chrome/Chromium + Playwright + AWS CLI v2
latestCurrent stable version
22.14Without AWS CLI (optional)

Tag summary

Content type

Image

Digest

sha256:32367591c…

Size

686.5 MB

Last updated

about 1 year ago

docker pull chernitsov/node-chrome-playwright