Container with node, headless chrome browser, curl and GIT on Ubuntu 16.04
50K+
Builds docker image based on Ubuntu 16.04(Xenial) with Chromium browser, Node 8, CURL and GIT.
The primary purpose of the image is to be able to run karma for my AngularJS project.
Get the image
Option 1: Pull from docker hub.
$ docker pull royge/chromeheadless
Option 2: Build from source
$ git clone https://github.com/royge/chromeheadless.git
$ cd chromeheadless
$ docker build -t chromeheadless .
Run the container
Create runtests.sh file.
#!/bin/bash
export CHROME_BIN=chromium-browser
npm run test-single-run
Execute docker run command.
$ chmod +x runtests.sh
$ docker run -it -v `pwd`:/app -w=/app royge/chromeheadless ./runtests.sh
Content type
Image
Digest
Size
322.6 MB
Last updated
about 8 years ago
docker pull royge/chromeheadless