Skip to content

edisonspencer/docker-nodejs-chrome-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edisonspencer/docker-nodejs-chrome-java

This docker image was created in order to run node.js tests that require Selenium Server, nightwatch and chrome as dependencies.

The latest image contains

Package name Version
node.js v15.14.0
npm 7.11.0
ChromeDriver 91.0.4472.19
Java 1.8.0_292

Usage example on Bitbucket Pipelines

image: edisonspencer/docker-nodejs-chrome-java:latest

pipelines:
  tags:
   '*.*.*':

# ...

Automatically build and publish the image

This repository is configured on Docker Hub to publish a new version of the image upon a commit on master (tag latest), or a specific tag (e.g. tag 1.0.0).

Manual steps to build and publish the image

After logging in to your Docker Hub account, do the following:

make build
docker tag <IMAGE_ID> edisonspencer/docker-nodejs-chrome-java:latest
docker push edisonspencer/docker-nodejs-chrome-java

Steps to run tests on the image locally

docker pull edisonspencer/docker-nodejs-chrome-java
docker run -it --entrypoint /bin/bash -v /path/to/project/folder:/docker/project/location -w /docker/project/location <IMAGE_ID>

Once inside the image:

npm ci
npm test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published