[REF] Odoo 10.0-12.0: update to release 20190128

the release timestamp and the verification sha1 are now using an ARG
instruction.

It means that they can be specified on the command line argument at the
build time.
This commit is contained in:
Christophe Monniez
2019-01-29 14:47:10 +01:00
parent a1463daf59
commit 4ab6185614
3 changed files with 12 additions and 9 deletions
+4 -3
View File
@@ -45,10 +45,11 @@ RUN set -x;\
# Install Odoo
ENV ODOO_VERSION 12.0
ENV ODOO_RELEASE 20181126
ARG ODOO_RELEASE=20190128
ARG ODOO_SHA=9e34aaed2eb1e7697aaf36767247dbf335e9fe7a
RUN set -x; \
curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo '30fb8530c596d5606b079c45f1be15f423431fdd odoo.deb' | sha1sum -c - \
curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
&& dpkg --force-depends -i odoo.deb \
&& apt-get update \
&& apt-get -y install -f --no-install-recommends \