Set separate versions for ODOO and the minor version

Signed-off-by: sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
sebastián Ramírez 2015-12-09 13:51:39 -05:00
parent 4bcb3d55de
commit 90456fe819

View File

@ -20,10 +20,11 @@ RUN set -x; \
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb && rm -rf /var/lib/apt/lists/* wkhtmltox.deb
# Install Odoo # Install Odoo
ENV ODOO_VERSION 9.0c ENV ODOO_VERSION 9.0
ENV ODOO_MINOR_VERSION 9.0c
ENV ODOO_RELEASE 20151209 ENV ODOO_RELEASE 20151209
RUN set -x; \ RUN set -x; \
curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \ curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_MINOR_VERSION}.${ODOO_RELEASE}_all.deb \
&& dpkg --force-depends -i odoo.deb \ && dpkg --force-depends -i odoo.deb \
&& apt-get update \ && apt-get update \
&& apt-get -y install -f --no-install-recommends \ && apt-get -y install -f --no-install-recommends \