Files
odoo_source/setup/package.dfcentos
T
Simon Lejeune 123e51f4d5 [REF] ir_qweb: less webasset: compress output instead of minifying it
* Remove dependency on less-plugin-clean-css which distribution
  packages are broken on debian stretch and derivated.
* Updated documentation.
* Lessc provides a `--compress` argument that could solve this issue.
  According to the documentation at http://lesscss.org/usage/: "[...]
  Compress using less built-in compression. This does an okay job but
  does not utilise all the tricks of dedicated css compression[...]"
  However, using this argument works on lessc 2.5.3 but not on 1.4.2
  (`--compress` arg is present but seems to be break some rules
  i haven't been able to put my finger on).
* Finally, use the minification of the StylesheetAsset that takes care
  of removing the spaces, the comments and the sourcemap with regexes.

fixes issue #9113
2016-06-10 17:22:03 +02:00

52 lines
1.2 KiB
Plaintext

# 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 \
nodejs-less \
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-vobject \
python-werkzeug \
python-xlwt \
python-yaml \
pytz \
postgresql \
postgresql-server \
postgresql-libs \
postgresql-contrib \
postgresql-devel -y && \
yum clean all
RUN easy_install pyPdf vatnumber pydot psycogreen suds ofxparse
# Postgres configuration
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
RUN echo "PS1=\"[\u@nightly-tests] # \"" > ~/.bashrc