Codebase list graphite-api / lintian-fixes/main Dockerfile
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

Dockerfile @lintian-fixes/mainraw · history · blame

FROM stackbrew/ubuntu:14.04

MAINTAINER Bruno ReniƩ <bruno@renie.fr>

VOLUME /srv/graphite

RUN apt-get update
RUN apt-get upgrade -y

RUN apt-get install -y language-pack-en
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales

RUN apt-get install -y build-essential python-dev libffi-dev libcairo2-dev python-pip

RUN pip install gunicorn graphite-api[sentry,cyanite]

ONBUILD ADD graphite-api.yaml /etc/graphite-api.yaml
ONBUILD RUN chmod 0644 /etc/graphite-api.yaml

EXPOSE 8000

CMD gunicorn -b 0.0.0.0:8000 -w 2 --log-level debug graphite_api.app:app