Public Repository

Last pushed: a year ago
Short Description
Containerized node & npm build environment
Full Description

Container

This container is used to make build environment independent from your development environment. It contains Nodejs 5.7.0, npm 3.6.0 and gulp-cli 1.2.1.

Usage

docker run --rm -t -v $(pwd):/project sturmm/gulp watch
  • path must not contain a symlink, otherwise it cannot be mounted in container
  • on MacOS or Windows you must ensure that folder is mounted and accessible from VirtualBox VM

Dockerfile

FROM ubuntu:vivid
MAINTAINER Martin Sturm <roadrunner120485@users.noreply.github.com>

RUN apt-get update
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_5.x | bash -
RUN apt-get install -y nodejs
RUN npm install --global gulp-cli
WORKDIR /project

ENTRYPOINT ["gulp"]
CMD ["-h"]
Docker Pull Command
Owner
sturmm

Comments (0)