Created
June 8, 2013 01:27
-
-
Save crosbymichael/5733479 to your computer and use it in GitHub Desktop.
Revisions
-
crosbymichael created this gist
Jun 8, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ # Builder file for sentry # FROM ubuntu MAINTAINER Michael Crosby RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list RUN apt-get update RUN apt-get upgrade RUN apt-get install -y openssh-server git-core libxml2-dev curl python build-essential make gcc python-dev wget RUN apt-get install -y postgresql-client-9.1 postgresql-client-common libpq5 RUN apt-get install -y libpq-dev RUN wget http://python-distribute.org/distribute_setup.py RUN python distribute_setup.py RUN wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py RUN python get-pip.py RUN pip install psycopg2 RUN pip install sentry RUN wget https://gist.github.com/crosbymichael/5703399/raw/af71ae229cbf66ae6c7cf773e0d1042a0a30762a/sentry.conf.py RUN apt-get install -y language-pack-en RUN echo "export LANGUAGE=en_US.UTF-8" >> /etc/bash.bashrc RUN echo "export LANG=en_US.UTF-8" >> /etc/bash.bashrc RUN echo "export LC_ALL=en_US.UTF-8" >> /etc/bash.bashrc RUN locale-gen en_US.UTF-8 RUN dpkg-reconfigure locales EXPOSE 9000 CMD /usr/local/bin/sentry --config=/sentry.conf.py start