dockerfiles/sentry/Dockerfile

37 lines
689 B
Docker
Raw Normal View History

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 \
g++ \
libffi-dev \
libpq5 \
libpq-dev \
libxml2-dev \
libxslt1-dev \
locales \
postgresql-client-9.4 \
postgresql-client-common \
python \
python-dev \
python-pip \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
2014-10-07 04:55:32 +02:00
# locales
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
RUN pip install psycopg2 sentry
2014-10-07 04:55:32 +02:00
EXPOSE 9000
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"]