Sign inSign up

rastasheep/alpine-node-chromium

By rastasheep

•Updated over 3 years ago

Dockerized chromium, built on top of official Node alpine images.

Image
5

100K+

rastasheep/alpine-node-chromium repository overview

⁠alpine-node-chromium

⁠Dockerized chromium, built on top of official Node alpine⁠ images.

⁠About image

⁠• What, why, how?

Image intended to be used in modern front-end development workflow, to be exact, with Karma test runner⁠ via karma-chrome-launcher⁠ which uses headless Chromium instead traditional PhantomJS which doesn't play well with Alpine linux.

If you're interested into actual Karma configuration, it looks like:

  browsers: ['ChromiumNoSandbox'],
  customLaunchers: {
    ChromiumNoSandbox: {
      base: 'ChromiumHeadless',
      flags: ['--no-sandbox', '--headless', '--disable-gpu', '--disable-translate', '--disable-extensions']
    }
  }
⁠• Image tags
  • rastasheep/alpine-node-chromium:14-alpine (based on: node:14-alpine)
  • rastasheep/alpine-node-chromium:12-alpine (based on: node:12-alpine)
  • rastasheep/alpine-node-chromium:10-alpine (based on: node:10-alpine)
  • rastasheep/alpine-node-chromium:8-alpine (based on: node:8-alpine)
  • rastasheep/alpine-node-chromium:7-alpine (based on: node:7-alpine)
  • rastasheep/alpine-node-chromium:6-alpine (based on: node:6-alpine)
  • rastasheep/alpine-node-chromium:4-alpine (based on: node:4-alpine)
⁠• Installed packages

Chromium stuff

Image optimization libs

⁠• Environment variables
  • CHROME_BIN=/usr/bin/chromium-browser
  • LIGHTHOUSE_CHROMIUM_PATH=/usr/bin/chromium-browser

⁠Issues

If you run into any problems with this image, please check (and potentially file new) issues on the rastasheep/alpine-node-chromium⁠ repository, which is the source for this image.

⁠License

alpine-node-chromium is licensed under the MIT license⁠.

Tag summary

Content type

Image

Digest

Size

162.8 MB

Last updated

over 5 years ago

docker pull rastasheep/alpine-node-chromium