/node-chrome-firefox

Docker image for NodeJS testing with headless Chrome and Firefox

Primary LanguageShellApache License 2.0Apache-2.0

Forked

This is a fork of Atlassian's https://bitbucket.org/atlassian/docker-node-chrome-firefox

Dockerfile for Node/Karma tests in Chrome and Firefox

This Dockerfile contains:

  • SCM tools
  • Node 9.x (9.11.1)
  • Google Chrome latest (66.0.3359.170)
  • Firefox ESR latest (52.8.0)
  • Bzip2 (for PhantomJS install)

How to build the image

docker build -t node-chrome-firefox .

then use docker images to find the image ID.

With docker run -it <IMAGE_ID> you can test if your changes are the desired ones.

Then tag it: docker tag <IMAGE_ID> <YOUR-USER>/node-chrome-firefox:latest

and finally publish it: docker push <YOUR-USER>/node-chrome-firefox