diff --git a/11.0/Dockerfile b/11.0/Dockerfile index aca47f4..706c996 100644 --- a/11.0/Dockerfile +++ b/11.0/Dockerfile @@ -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 \ diff --git a/12.0/Dockerfile b/12.0/Dockerfile index 3442b53..60f7736 100644 --- a/12.0/Dockerfile +++ b/12.0/Dockerfile @@ -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 \ diff --git a/13.0/Dockerfile b/13.0/Dockerfile index e5525d0..0347590 100644 --- a/13.0/Dockerfile +++ b/13.0/Dockerfile @@ -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 \