docker/Dockerfile
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Feb 2017 16:26:00 +0100
changeset 176 e1f4c31c2414
parent 9 02aa198f7a2b
permissions -rw-r--r--
Fix selector of manage view and action Without strict=True, predicate is always true because owned_by as some local role.

FROM debian:jessie
MAINTAINER Logilab "contact@logilab.fr"

ADD sources.list /etc/apt/sources.list
# The following line is specific to Logilab
RUN rm -f /etc/apt/apt.conf.d/99proxy
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install --no-install-recommends -y mercurial build-essential virtualenv python-virtualenv python-dev gettext libjpeg-dev libfreetype6-dev libxml2-dev libxslt1-dev zlib1g-dev libgecode-dev libpq-dev libfreetype6-dev graphviz yapps2 postgresql-client supervisor
RUN virtualenv /root/venv
ADD requirements.txt /root/venv/requirements.txt
RUN . /root/venv/bin/activate; pip install -r /root/venv/requirements.txt
ADD supervisord.conf /etc/supervisor/conf.d/cubicweb-seda.conf
VOLUME /var/log
WORKDIR /root
EXPOSE 8080
CMD ["/usr/bin/supervisord", "--nodaemon"]