Skip to content

Instantly share code, notes, and snippets.

@crosbymichael
Created June 26, 2013 14:11
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 crosbymichael/5867672 to your computer and use it in GitHub Desktop.
Save crosbymichael/5867672 to your computer and use it in GitHub Desktop.
# Dockerfile 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
{{ include build-essentials }}
{{ include postgres-client }}
{{ include python-dev }}
RUN pip install psycopg2
RUN pip install sentry
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
ADD sentry.conf.py /sentry.conf.py
CMD /usr/local/bin/sentry --config=/sentry.conf.py start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment