diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-01-06 11:49:04 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-01-06 11:49:04 +0100 |
| commit | fab4d6d442ebbf081ead7e747f04b61e01ae9db2 (patch) | |
| tree | 3dd9aad0f429f4229e500db503bbf8b7155f9c38 /setup/package.dfcentos | |
| parent | 7fea986fd9f6f3ce1cc6c015a2523fdd23cf814d (diff) | |
| parent | ea54d4af9f75e518c5871213a668a9f516e56830 (diff) | |
[MERGE] forward port of branch 8.0 up to ea54d4a
Diffstat (limited to 'setup/package.dfcentos')
| -rw-r--r-- | setup/package.dfcentos | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/setup/package.dfcentos b/setup/package.dfcentos new file mode 100644 index 00000000000..cd494534c51 --- /dev/null +++ b/setup/package.dfcentos @@ -0,0 +1,49 @@ +# Please note that this Dockerfile is used for testing nightly builds and should +# not be used to deploy Odoo +FROM centos:centos7 +MAINTAINER Odoo S.A. <info@odoo.com> + +# Dependencies and postgres +RUN yum install -d 0 -e 0 epel-release -y && \ + yum update -d 0 -e 0 -y && \ + yum install -d 0 -e 0 \ + babel \ + libxslt-python \ + pychart \ + pyparsing \ + python-dateutil \ + python-decorator \ + python-docutils \ + python-feedparser \ + python-imaging \ + python-jinja2 \ + python-ldap \ + python-lxml \ + python-mako \ + python-mock \ + python-openid \ + python-passlib \ + python-psutil \ + python-psycopg2 \ + python-reportlab \ + python-requests \ + python-simplejson \ + python-unittest2 \ + python-vobject \ + python-werkzeug \ + python-yaml \ + pytz \ + postgresql \ + postgresql-server \ + postgresql-libs \ + postgresql-contrib \ + postgresql-devel -y && \ + yum clean all + +RUN easy_install pyPdf vatnumber pydot psycogreen + +# Manual start of postgres +RUN mkdir -p /var/lib/postgres/data +RUN chown -R postgres:postgres /var/lib/postgres/data +RUN su postgres -c "initdb -D /var/lib/postgres/data -E UTF-8" +RUN cp /usr/share/pgsql/postgresql.conf.sample /var/lib/postgres/data/postgresql.conf
\ No newline at end of file |
