docker/Dockerfile
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 09 Mar 2017 17:33:13 +0100
changeset 217 5a0cebef1a8e
parent 9 02aa198f7a2b
permissions -rw-r--r--
[schema] Implement security for top level types (ArchiveTransfer, ArchiveUnit, AuthorityRecord and ConceptScheme). For now, we only need to setup ConceptScheme compound security since it's not done yet by the skos cube, while it is in eac and seda cubes. We need to follow a change in the seda cube to get tests to green. Closes #16684441

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"]