[FIX] Odoo 10.0-12.0: use long ID's for gpg keys
Use long gpg ID's to avoid collisions.
This commit is contained in:
parent
87f0174dca
commit
d3e44ad1f3
@ -29,11 +29,13 @@ RUN set -x; \
|
||||
RUN set -x; \
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' > etc/apt/sources.list.d/pgdg.list \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8 \
|
||||
&& gpg --armor --export ACCC4CF8 | apt-key add - \
|
||||
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y postgresql-client
|
||||
&& apt-get install -y postgresql-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Odoo
|
||||
ENV ODOO_VERSION 10.0
|
||||
|
@ -33,12 +33,14 @@ RUN set -x; \
|
||||
RUN set -x; \
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > etc/apt/sources.list.d/pgdg.list \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8 \
|
||||
&& gpg --armor --export ACCC4CF8 | apt-key add - \
|
||||
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y postgresql-client
|
||||
&& apt-get install -y postgresql-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Odoo
|
||||
ENV ODOO_VERSION 11.0
|
||||
|
@ -33,24 +33,28 @@ RUN set -x; \
|
||||
RUN set -x; \
|
||||
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > etc/apt/sources.list.d/pgdg.list \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys ACCC4CF8 \
|
||||
&& gpg --armor --export ACCC4CF8 | apt-key add - \
|
||||
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y postgresql-client
|
||||
&& apt-get install -y postgresql-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install rtlcss (on Debian stretch)
|
||||
RUN set -x;\
|
||||
echo "deb http://deb.nodesource.com/node_8.x stretch main" > /etc/apt/sources.list.d/nodesource.list \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 68576280 \
|
||||
&& gpg --armor --export 68576280 | apt-key add - \
|
||||
&& repokey='9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y nodejs \
|
||||
&& npm install -g rtlcss
|
||||
&& npm install -g rtlcss \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Odoo
|
||||
ENV ODOO_VERSION 12.0
|
||||
|
Loading…
Reference in New Issue
Block a user