Docker image for CI builds, based on node with Chrome installed for UI tests.
265
This is a Docker image based on node which also contains an installation of the latest Chrome Browser, which enables javascript unit tests on a headless Chrome in CI environments.
To be able to use Chrome Headless, it is necessary to create a custom ChromeHeadless in karma.conf.js configuration which disables sandboxing, so that Chrome has sufficient permissions on a Docker Container.
customLaunchers: {
ChromeNoSandboxing: {
base: 'ChromeHeadless',
flags: [
'--no-sandbox',
]
}
},
Content type
Image
Digest
Size
226 MB
Last updated
about 8 years ago
docker pull martinreus/node-chrome