[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:
+4
-3
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user