Skip to content

Commit 4ab6185

Browse files
committed
[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.
1 parent a1463da commit 4ab6185

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

10.0/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ RUN set -x; \
3333

3434
# Install Odoo
3535
ENV ODOO_VERSION 10.0
36-
ENV ODOO_RELEASE 20181126
36+
ARG ODOO_RELEASE=20190128
37+
ARG ODOO_SHA=673bb5e45c006c9a822a0ca1a7d19989c03151ad
3738
RUN set -x; \
38-
curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
39-
&& echo 'a68f31336b103c9cc334d8eb2f88bd5e754b5d74 odoo.deb' | sha1sum -c - \
39+
curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
40+
&& echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
4041
&& dpkg --force-depends -i odoo.deb \
4142
&& apt-get update \
4243
&& apt-get -y install -f --no-install-recommends \

11.0/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ RUN set -x; \
3737

3838
# Install Odoo
3939
ENV ODOO_VERSION 11.0
40-
ENV ODOO_RELEASE 20181126
40+
ARG ODOO_RELEASE=20190128
41+
ARG ODOO_SHA=30cb83ce38ec0b4a459e5590407cb2f9dcf46061
4142
RUN set -x; \
42-
curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
43-
&& echo '57e270cd958ca97b3920d7187c8967e1458d975c odoo.deb' | sha1sum -c - \
43+
curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
44+
&& echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
4445
&& dpkg --force-depends -i odoo.deb \
4546
&& apt-get update \
4647
&& apt-get -y install -f --no-install-recommends \

12.0/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ RUN set -x;\
4545

4646
# Install Odoo
4747
ENV ODOO_VERSION 12.0
48-
ENV ODOO_RELEASE 20181126
48+
ARG ODOO_RELEASE=20190128
49+
ARG ODOO_SHA=9e34aaed2eb1e7697aaf36767247dbf335e9fe7a
4950
RUN set -x; \
50-
curl -o odoo.deb -SL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
51-
&& echo '30fb8530c596d5606b079c45f1be15f423431fdd odoo.deb' | sha1sum -c - \
51+
curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
52+
&& echo "${ODOO_SHA} odoo.deb" | sha1sum -c - \
5253
&& dpkg --force-depends -i odoo.deb \
5354
&& apt-get update \
5455
&& apt-get -y install -f --no-install-recommends \

0 commit comments

Comments
 (0)