[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

View File

@ -33,10 +33,11 @@ RUN set -x; \
# Install Odoo # Install Odoo
ENV ODOO_VERSION 10.0 ENV ODOO_VERSION 10.0
ENV ODOO_RELEASE 20181126 ARG ODOO_RELEASE=20190128
ARG ODOO_SHA=673bb5e45c006c9a822a0ca1a7d19989c03151ad
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 -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo 'a68f31336b103c9cc334d8eb2f88bd5e754b5d74 odoo.deb' | sha1sum -c - \ && echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
&& 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 \

View File

@ -37,10 +37,11 @@ RUN set -x; \
# Install Odoo # Install Odoo
ENV ODOO_VERSION 11.0 ENV ODOO_VERSION 11.0
ENV ODOO_RELEASE 20181126 ARG ODOO_RELEASE=20190128
ARG ODOO_SHA=30cb83ce38ec0b4a459e5590407cb2f9dcf46061
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 -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo '57e270cd958ca97b3920d7187c8967e1458d975c odoo.deb' | sha1sum -c - \ && echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
&& 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 \

View File

@ -45,10 +45,11 @@ RUN set -x;\
# Install Odoo # Install Odoo
ENV ODOO_VERSION 12.0 ENV ODOO_VERSION 12.0
ENV ODOO_RELEASE 20181126 ARG ODOO_RELEASE=20190128
ARG ODOO_SHA=9e34aaed2eb1e7697aaf36767247dbf335e9fe7a
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 -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo '30fb8530c596d5606b079c45f1be15f423431fdd odoo.deb' | sha1sum -c - \ && echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
&& 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 \