Skip to content

Docker image ryzy/node with Node.JS, yarn and Chromium browser installed.

License

Notifications You must be signed in to change notification settings

ryzy/docker-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker: Node.JS

Docker image ryzy/node with Node.JS, yarn and Chromium browser installed.

Features

  • latest NodeJS 6 LTS, yarn
  • Chromium browser
  • JRE (needed by Selenium WebDriver)
  • basic web-related tools: git, curl, patch, jq etc

With it, you can run Karma / Protractor tests inside Docker container. Perfect for running them in your CI pipeline.

Usage

docker run -ti ryzy/node
docker run -ti ryzy/node node
docker run -ti ryzy/node npm
docker run -ti ryzy/node yarn

Usage with BitBucket pipelines

Below is a sample script you can use for BitBucket pipelines:

image: ryzy/node:latest

pipelines:
  default:
    - step:
        script:
          - yarn install
          - yarn run start:prod & # Send to the background - needed for e2e tests
          - yarn run lint
          - yarn run test:ci
          - yarn run build
          - yarn run build:prod # with -prod settings and AoT
          - yarn run e2e

License

MIT

About

Docker image ryzy/node with Node.JS, yarn and Chromium browser installed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages