[REF] Odoo 8.0-10.0: install needed dependencies for worker mode
ie python-gevent and psycogreen. As psycogreen is not packaged in debian jessie we have to install it with pip. As python-gevent is in the recommanded packaged of odoo and we don't install them, we install it explicitely.
This commit is contained in:
parent
0560419f9a
commit
6da3a1848f
@ -8,6 +8,8 @@ RUN set -x; \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
node-less \
|
node-less \
|
||||||
|
python-gevent \
|
||||||
|
python-pip \
|
||||||
python-pyinotify \
|
python-pyinotify \
|
||||||
python-renderpm \
|
python-renderpm \
|
||||||
python-support \
|
python-support \
|
||||||
@ -16,7 +18,8 @@ RUN set -x; \
|
|||||||
&& dpkg --force-depends -i wkhtmltox.deb \
|
&& dpkg --force-depends -i wkhtmltox.deb \
|
||||||
&& apt-get -y install -f --no-install-recommends \
|
&& apt-get -y install -f --no-install-recommends \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
|
||||||
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
|
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
|
||||||
|
&& pip install psycogreen==1.0
|
||||||
|
|
||||||
# Install Odoo
|
# Install Odoo
|
||||||
ENV ODOO_VERSION 10.0
|
ENV ODOO_VERSION 10.0
|
||||||
|
@ -9,6 +9,8 @@ RUN set -x; \
|
|||||||
curl \
|
curl \
|
||||||
node-less \
|
node-less \
|
||||||
node-clean-css \
|
node-clean-css \
|
||||||
|
python-gevent \
|
||||||
|
python-pip \
|
||||||
python-pyinotify \
|
python-pyinotify \
|
||||||
python-renderpm \
|
python-renderpm \
|
||||||
python-support \
|
python-support \
|
||||||
@ -17,7 +19,9 @@ RUN set -x; \
|
|||||||
&& dpkg --force-depends -i wkhtmltox.deb \
|
&& dpkg --force-depends -i wkhtmltox.deb \
|
||||||
&& apt-get -y install -f --no-install-recommends \
|
&& apt-get -y install -f --no-install-recommends \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
|
||||||
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
|
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
|
||||||
|
&& pip install psycogreen==1.0
|
||||||
|
|
||||||
|
|
||||||
# Install Odoo
|
# Install Odoo
|
||||||
ENV ODOO_VERSION 8.0
|
ENV ODOO_VERSION 8.0
|
||||||
|
@ -8,6 +8,8 @@ RUN set -x; \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
node-less \
|
node-less \
|
||||||
|
python-gevent \
|
||||||
|
python-pip \
|
||||||
python-pyinotify \
|
python-pyinotify \
|
||||||
python-renderpm \
|
python-renderpm \
|
||||||
python-support \
|
python-support \
|
||||||
@ -16,7 +18,8 @@ RUN set -x; \
|
|||||||
&& dpkg --force-depends -i wkhtmltox.deb \
|
&& dpkg --force-depends -i wkhtmltox.deb \
|
||||||
&& apt-get -y install -f --no-install-recommends \
|
&& apt-get -y install -f --no-install-recommends \
|
||||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false npm \
|
||||||
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
|
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
|
||||||
|
&& pip install psycogreen==1.0
|
||||||
|
|
||||||
# Install Odoo
|
# Install Odoo
|
||||||
ENV ODOO_VERSION 9.0
|
ENV ODOO_VERSION 9.0
|
||||||
|
Loading…
Reference in New Issue
Block a user