Created
January 25, 2015 23:13
-
-
Save JFKingsley/c2de74604cbdb3e16f28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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