From 4ab61856147123f7f1726c78c3da3f2136e435fe Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Tue, 29 Jan 2019 14:47:10 +0100 Subject: [PATCH] [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. --- 10.0/Dockerfile | 7 ++++--- 11.0/Dockerfile | 7 ++++--- 12.0/Dockerfile | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/10.0/Dockerfile b/10.0/Dockerfile index 1dd1976..967a5b1 100644 --- a/10.0/Dockerfile +++ b/10.0/Dockerfile @@ -33,10 +33,11 @@ RUN set -x; \ # Install Odoo ENV ODOO_VERSION 10.0 -ENV ODOO_RELEASE 20181126 +ARG ODOO_RELEASE=20190128 +ARG ODOO_SHA=673bb5e45c006c9a822a0ca1a7d19989c03151ad RUN set -x; \ - curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \ - && echo 'a68f31336b103c9cc334d8eb2f88bd5e754b5d74 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 \ diff --git a/11.0/Dockerfile b/11.0/Dockerfile index f17bcf6..328aa18 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -37,10 +37,11 @@ RUN set -x; \ # Install Odoo ENV ODOO_VERSION 11.0 -ENV ODOO_RELEASE 20181126 +ARG ODOO_RELEASE=20190128 +ARG ODOO_SHA=30cb83ce38ec0b4a459e5590407cb2f9dcf46061 RUN set -x; \ - curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \ - && echo '57e270cd958ca97b3920d7187c8967e1458d975c 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 \ diff --git a/12.0/Dockerfile b/12.0/Dockerfile index 629fd6e..3c24fdc 100644 --- a/12.0/Dockerfile +++ b/12.0/Dockerfile @@ -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 \