Skip to content

Instantly share code, notes, and snippets.

@ahnick
Created October 29, 2013 16:39
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 ahnick/7218174 to your computer and use it in GitHub Desktop.
Save ahnick/7218174 to your computer and use it in GitHub Desktop.
Dockerfile + shells
# IRC bot tad (Hubot)
#
FROM ubuntu
MAINTAINER Xan Nick "xan.nick@gmail.com"
# Update and install packages
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y build-essential
RUN apt-get install -y vim
RUN apt-get install -y python
RUN apt-get install -y redis-server
RUN apt-get install -y curl
# Install Node & NPM
ADD node_npm_installer.sh /
ADD hubot_installer.sh /
RUN ./node_npm_installer.sh
RUN ./hubot_installer.sh
RUN rm *.sh
# Add runtime script
ADD run-tad.sh /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment