Skip to content

Instantly share code, notes, and snippets.

@JFKingsley
Created January 25, 2015 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JFKingsley/c2de74604cbdb3e16f28 to your computer and use it in GitHub Desktop.
Save JFKingsley/c2de74604cbdb3e16f28 to your computer and use it in GitHub Desktop.
from debian:wheezy
# Install Node.js
RUN apt-get update
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup | bash -
RUN apt-get install -y nodejs
# Install hubot generator
RUN npm install -g yo generator-hubot
# Create hubot user
RUN useradd -d /hubot -m -s /bin/bash -U hubot
# Log in as hubot user and change directory
USER hubot
WORKDIR /hubot
# Install hubot
RUN ["yo", "hubot", "args", "here"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment