Switch from SKS to Ubuntu keyserver
See also https://github.com/docker-library/faq#openpgp--gnupg-keys-and-verification and https://github.com/tianon/pgp-happy-eyeballs
This commit is contained in:
parent
0ecab40750
commit
5c0e796bb6
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ RUN set -ex; \
|
||||||
# uid PostgreSQL Debian Repository
|
# uid PostgreSQL Debian Repository
|
||||||
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; \
|
||||||
export GNUPGHOME="$(mktemp -d)"; \
|
export GNUPGHOME="$(mktemp -d)"; \
|
||||||
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
|
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
|
||||||
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; \
|
||||||
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
command -v gpgconf > /dev/null && gpgconf --kill all; \
|
||||||
rm -rf "$GNUPGHOME"; \
|
rm -rf "$GNUPGHOME"; \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue