summaryrefslogtreecommitdiff
path: root/setup/package.dfdebian
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-01-06 11:49:04 +0100
committerChristophe Simonis <chs@odoo.com>2015-01-06 11:49:04 +0100
commitfab4d6d442ebbf081ead7e747f04b61e01ae9db2 (patch)
tree3dd9aad0f429f4229e500db503bbf8b7155f9c38 /setup/package.dfdebian
parent7fea986fd9f6f3ce1cc6c015a2523fdd23cf814d (diff)
parentea54d4af9f75e518c5871213a668a9f516e56830 (diff)
[MERGE] forward port of branch 8.0 up to ea54d4a
Diffstat (limited to 'setup/package.dfdebian')
-rw-r--r--setup/package.dfdebian70
1 files changed, 70 insertions, 0 deletions
diff --git a/setup/package.dfdebian b/setup/package.dfdebian
new file mode 100644
index 00000000000..8afcad6431b
--- /dev/null
+++ b/setup/package.dfdebian
@@ -0,0 +1,70 @@
+# Please note that this Dockerfile is used for testing nightly builds and should
+# not be used to deploy Odoo
+FROM debian:stable
+MAINTAINER Odoo S.A. <info@odoo.com>
+
+# Change policy-rc.d so that services start automatically once installed
+RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d
+
+RUN apt-get update && \
+ apt-get install -y locales && \
+ rm -rf /var/lib/apt/lists/*
+
+# Reconfigure locales such that postgresql uses UTF-8 encoding
+RUN dpkg-reconfigure locales && \
+ locale-gen C.UTF-8 && \
+ /usr/sbin/update-locale LANG=C.UTF-8
+ENV LC_ALL C.UTF-8
+
+RUN apt-get update -qq && \
+ apt-get upgrade -qq -y && \
+ apt-get install \
+ postgresql \
+ postgresql-server-dev-all \
+ postgresql-client \
+ adduser \
+ libxml2-dev \
+ libxslt1-dev \
+ libldap2-dev \
+ libsasl2-dev \
+ libssl-dev \
+ libjpeg-dev \
+ python-dev \
+ python-pip \
+ build-essential \
+ python \
+ python-dateutil \
+ python-decorator \
+ python-docutils \
+ python-feedparser \
+ python-imaging \
+ python-jinja2 \
+ python-ldap \
+ python-libxslt1 \
+ python-lxml \
+ python-mako \
+ python-mock \
+ python-openid \
+ python-passlib \
+ python-psutil \
+ python-psycopg2 \
+ python-pybabel \
+ python-pychart \
+ python-pydot \
+ python-pyparsing \
+ python-pypdf \
+ python-reportlab \
+ python-requests \
+ python-simplejson \
+ python-tz \
+ python-unittest2 \
+ python-vatnumber \
+ python-vobject \
+ python-werkzeug \
+ python-xlwt \
+ python-yaml -y && \
+ rm -rf /var/lib/apt/lists/*
+
+COPY requirements.txt /opt/release/requirements.txt
+
+RUN pip install -r /opt/release/requirements.txt