[IMP] Use latest nightly build by default

This commit is contained in:
Olivier Fahrni 2023-02-09 16:22:53 +01:00
parent 9674beb8a5
commit 9b13c3610d
3 changed files with 18 additions and 12 deletions

View File

@ -55,10 +55,12 @@ RUN npm install -g rtlcss
# Install Odoo
ENV ODOO_VERSION 14.0
ARG ODOO_RELEASE=20230109
ARG ODOO_SHA=ef9eef9a5e5bbeb455ac7d1c05cc675e74876609
RUN 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 - \
ARG ODOO_RELEASE=latest
ARG ODOO_SHA
RUN latest_sha1=$(curl -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/Packages | grep -e "^SHA1:" | sed "s/SHA1: //") \
&& sha_value=${ODOO_SHA-${latest_sha1}} \
&& curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo "${sha_value} odoo.deb" | sha1sum -c - \
&& apt-get update \
&& apt-get -y install --no-install-recommends ./odoo.deb \
&& rm -rf /var/lib/apt/lists/* odoo.deb

View File

@ -55,10 +55,12 @@ RUN npm install -g rtlcss
# Install Odoo
ENV ODOO_VERSION 15.0
ARG ODOO_RELEASE=20230109
ARG ODOO_SHA=618e45490616f63dfb68077523c2971cbb6cdda7
RUN 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 - \
ARG ODOO_RELEASE=latest
ARG ODOO_SHA
RUN latest_sha1=$(curl -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/Packages | grep -e "^SHA1:" | sed "s/SHA1: //") \
&& sha_value=${ODOO_SHA-${latest_sha1}} \
&& curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo "${sha_value} odoo.deb" | sha1sum -c - \
&& apt-get update \
&& apt-get -y install --no-install-recommends ./odoo.deb \
&& rm -rf /var/lib/apt/lists/* odoo.deb

View File

@ -55,10 +55,12 @@ RUN npm install -g rtlcss
# Install Odoo
ENV ODOO_VERSION 16.0
ARG ODOO_RELEASE=20230109
ARG ODOO_SHA=884bf72c7318835b9ac56be2594032cbba7b8c7b
RUN 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 - \
ARG ODOO_RELEASE=latest
ARG ODOO_SHA
RUN latest_sha1=$(curl -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/Packages | grep -e "^SHA1:" | sed "s/SHA1: //") \
&& sha_value=${ODOO_SHA-${latest_sha1}} \
&& curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/odoo_${ODOO_VERSION}.${ODOO_RELEASE}_all.deb \
&& echo "${sha_value} odoo.deb" | sha1sum -c - \
&& apt-get update \
&& apt-get -y install --no-install-recommends ./odoo.deb \
&& rm -rf /var/lib/apt/lists/* odoo.deb