Public | Automated Build

Last pushed: 8 months ago
Short Description
A node development environment with bower, webpack, gulp, grunt, ... etc. Based on Alpine Linux.
Full Description

Packages/Modules(in v1.0.0)

  • node(v6.7.0)
  • npm(v3.10.3)
  • bower(v1.8.0)
  • webpack(v1.13.3)
  • gulp(v3.9.1)
  • grunt(v1.2.0)

NOTE: Let me know if you think there are other packages should be included.

Working folder

Uses /app as working folder in a container.

How to use?

For bash, create a script named node-devenv.sh with following content:

#!/bin/bash
alias node-sh="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv"
alias npm="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv npm"
alias node="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv node"
alias webpack="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv webpack"
alias bower="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv bower"
alias gulp="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv gulp"
alias grunt="docker run -it --rm -v `pwd`:/app -w /app garywlee/node-devenv grunt"

Use source to create alias of commands:

> source node-devenv.sh

Use aliases as normal command, for example:

> npm list
> bower help
> webpack version

Docker Pull Command
Owner
garywlee
Source Repository

Comments (0)