All Projects → rastasheep → alpine-node-chromium

rastasheep / alpine-node-chromium

Licence: MIT license
Dockerized chromium inside node alpine image

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].