[FIX] 11.0-13.0: use gpg batch mode
Without batch option, gpg may try to use /dev/tty. See https://bugs.debian.org/913614
This commit is contained in:
parent
9409487426
commit
c1fbc53720
@ -41,7 +41,7 @@ RUN set -x; \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpg --batch --armor --export "${repokey}" > /etc/apt/trusted.gpg.d/pgdg.gpg.asc \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
|
@ -41,7 +41,7 @@ RUN set -x; \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpg --batch --armor --export "${repokey}" > /etc/apt/trusted.gpg.d/pgdg.gpg.asc \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
@ -54,7 +54,7 @@ RUN set -x;\
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& repokey='9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpg --batch --armor --export "${repokey}" > /etc/apt/trusted.gpg.d/nodejs.gpg.asc \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
|
@ -39,7 +39,7 @@ RUN set -x; \
|
||||
&& export GNUPGHOME="$(mktemp -d)" \
|
||||
&& repokey='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8' \
|
||||
&& gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "${repokey}" \
|
||||
&& gpg --armor --export "${repokey}" | apt-key add - \
|
||||
&& gpg --batch --armor --export "${repokey}" > /etc/apt/trusted.gpg.d/pgdg.gpg.asc \
|
||||
&& gpgconf --kill all \
|
||||
&& rm -rf "$GNUPGHOME" \
|
||||
&& apt-get update \
|
||||
|
Loading…
Reference in New Issue
Block a user