2014-10-07 04:55:32 +02:00
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
g++ \
|
2015-06-05 21:07:08 +02:00
|
|
|
libffi-dev \
|
2015-06-05 19:24:11 +02:00
|
|
|
libpq5 \
|
|
|
|
libpq-dev \
|
|
|
|
libxml2-dev \
|
2015-06-05 21:07:08 +02:00
|
|
|
libxslt1-dev \
|
2015-06-05 19:24:11 +02:00
|
|
|
locales \
|
|
|
|
postgresql-client-9.4 \
|
|
|
|
postgresql-client-common \
|
|
|
|
python \
|
|
|
|
python-dev \
|
|
|
|
python-pip \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-10-07 04:55:32 +02:00
|
|
|
|
|
|
|
# locales
|
2015-06-05 21:07:08 +02:00
|
|
|
ENV LANGUAGE en_US.UTF-8
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN locale-gen en_US.UTF-8 \
|
|
|
|
&& dpkg-reconfigure locales
|
2014-10-07 04:55:32 +02:00
|
|
|
|
2015-06-05 21:07:08 +02:00
|
|
|
RUN pip install psycopg2 sentry
|
2014-10-07 04:55:32 +02:00
|
|
|
|
|
|
|
EXPOSE 9000
|
|
|
|
|
2016-04-06 12:32:01 +02:00
|
|
|
COPY sentry.conf.py /sentry.conf.py
|
2014-10-07 04:55:32 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/local/bin/sentry", "--config=/sentry.conf.py"]
|
|
|
|
|
2014-10-09 19:02:35 +02:00
|
|
|
CMD ["upgrade"]
|