|
@@ -13,8 +13,12 @@ RUN set -x; \
|
|
|
python-renderpm \
|
|
|
python-support \
|
|
|
python-pip \
|
|
|
- python-psycopg2 \
|
|
|
+ python-psycopg2 \
|
|
|
python-gevent \
|
|
|
+ gcc \
|
|
|
+ python-dev \
|
|
|
+ libffi-dev \
|
|
|
+ libssh-dev \
|
|
|
&& curl -o wkhtmltox.deb -SL http://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb \
|
|
|
&& echo '40e8b906de658a2221b15e4e8cd82565a47d7ee8 wkhtmltox.deb' | sha1sum -c - \
|
|
|
&& dpkg --force-depends -i wkhtmltox.deb \
|
|
@@ -25,6 +29,15 @@ RUN set -x; \
|
|
|
# Install python deps
|
|
|
RUN pip install num2words
|
|
|
RUN pip install psycogreen
|
|
|
+RUN pip install pysftp
|
|
|
+
|
|
|
+# Remove unused packages
|
|
|
+RUN set -x; \
|
|
|
+ apt-get remove \
|
|
|
+ gcc \
|
|
|
+ python-dev \
|
|
|
+ libffi-dev \
|
|
|
+ && apt-get auto-remove
|
|
|
|
|
|
# Install Odoo
|
|
|
ENV ODOO_VERSION 8.0
|