Public Repository

Last pushed: 3 days ago
Short Description
Full Description

NOTE:
This image is intended to be used with nfqlt/docker vagrant box and other nfqlt docker images.
Other use scenarios might work but are not tested yet.

Node.js toolbox

Info

This is an image of Node.js LTS version in toolbox format

Global npm packages

This image has pre-installed npm global packages

  • gulp-cli
  • grunt-cli
  • node-sass
  • bower

Configuration

Available binary paths for export:

  • /usr/bin/node
  • /usr/bin/npm
  • /usr/bin/gulp
  • /usr/bin/grunt
  • /usr/bin/node-sass
  • /usr/bin/bower
  • /usr/bin/uglifycss
  • /usr/bin/uglifyjs

Sample configuration

node:
  image: docker.nfq.lt/nfqlt/node4
  volumes:
    - './src:/home/project/src'
    - /tmp

dev:
  image: docker.nfq.lt/nfqlt/php56-dev
  volumes_from:
    - node
  volumes:
    - './src:/home/project/src'
    - '/home/project/.ssh:/home/project/.ssh'
    - '/etc/ssh:/etc/ssh'
    - '/etc/gitconfig:/etc/gitconfig'
    - '/etc/environment:/etc/environment-vm:ro'
  environment:
    NFQ_REMOTE_TOOL_NODE: >
      /usr/bin/npm
      /usr/bin/node
      /usr/bin/grunt

linker:
  image: docker.nfq.lt/nfqlt/linker17
  volumes:
    - /run/docker.sock:/run/docker.sock

Docker Pull Command
Owner
nfqlt

Comments (0)