[IMP] Odoo 11.0-13.0: avoid masking return value of mktemp

This commit is contained in:
Christophe Monniez
2020-04-17 14:48:23 +02:00
parent 91a9019df7
commit 22ddf056d5
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ RUN apt-get update \
# install latest postgresql-client
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
&& export GNUPGHOME="$(mktemp -d)" \
&& GNUPGHOME="$(mktemp -d)" \
&& export GNUPGHOME \
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
&& gpg --batch --armor --export "${repokey}" > /etc/apt/trusted.gpg.d/pgdg.gpg.asc \