Skip to content

Instantly share code, notes, and snippets.

@microadam
Created April 10, 2014 10:36
Show Gist options
  • Save microadam/10366520 to your computer and use it in GitHub Desktop.
Save microadam/10366520 to your computer and use it in GitHub Desktop.
# DOCKER-VERSION 0.7.2
FROM 172.16.42.43:5000/base-nave
MAINTAINER Adam Duncan <adam.jd@gmail.com>
# Install ZeroMQ
RUN wget http://download.zeromq.org/zeromq-3.2.3.tar.gz && tar zxvf zeromq-3.2.3.tar.gz && cd zeromq-3.2.3 && ./configure && make && make install && ldconfig
# Install supervisor
RUN apt-get -y install supervisor
# Expose shared volumes
VOLUME ["/var/log/supervisor"]
# Add SSH keys to access private GIT repos
RUN mkdir -p /root/.ssh
ADD id_rsa /root/.ssh/id_rsa
RUN chmod 700 /root/.ssh/id_rsa
RUN echo "Host github.com\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config
# DOCKER-VERSION 0.7.2
FROM stackbrew/ubuntu:13.04
MAINTAINER Adam Duncan <adam.jd@gmail.com>
RUN echo "deb http://archive.ubuntu.com/ubuntu raring main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y upgrade
# Useful base packages
RUN apt-get -y install wget curl libtool autoconf automake uuid-dev build-essential git
RUN locale-gen en_GB en_GB.UTF-8
# Install nave
RUN curl https://raw.github.com/isaacs/nave/master/nave.sh > /bin/nave && chmod a+x /bin/nave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment