Skip to content

Commit

Permalink
[REF] Odoo 8.0-10.0: install needed dependencies for worker mode
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sle-odoo committed Oct 25, 2016
1 parent 0560419 commit 6da3a18
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion 10.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN set -x; \
ca-certificates \
curl \
node-less \
python-gevent \
python-pip \
python-pyinotify \
python-renderpm \
python-support \
Expand All @@ -16,7 +18,8 @@ RUN set -x; \
&& dpkg --force-depends -i wkhtmltox.deb \
&& 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 \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
&& pip install psycogreen==1.0

# Install Odoo
ENV ODOO_VERSION 10.0
Expand Down
6 changes: 5 additions & 1 deletion 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ RUN set -x; \
curl \
node-less \
node-clean-css \
python-gevent \
python-pip \
python-pyinotify \
python-renderpm \
python-support \
Expand All @@ -17,7 +19,9 @@ RUN set -x; \
&& dpkg --force-depends -i wkhtmltox.deb \
&& 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 \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
&& pip install psycogreen==1.0


# Install Odoo
ENV ODOO_VERSION 8.0
Expand Down
5 changes: 4 additions & 1 deletion 9.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ RUN set -x; \
ca-certificates \
curl \
node-less \
python-gevent \
python-pip \
python-pyinotify \
python-renderpm \
python-support \
Expand All @@ -16,7 +18,8 @@ RUN set -x; \
&& dpkg --force-depends -i wkhtmltox.deb \
&& 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 \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb \
&& pip install psycogreen==1.0

# Install Odoo
ENV ODOO_VERSION 9.0
Expand Down

0 comments on commit 6da3a18

Please sign in to comment.