Dockerized chromium, built on top of official Node alpine images.
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']
}
}
- 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)
Chromium stuff
Image optimization libs
CHROME_BIN=/usr/bin/chromium-browser
LIGHTHOUSE_CHROMIUM_PATH=/usr/bin/chromium-browser
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.
alpine-node-chromium is licensed under the MIT license.