diff --git a/docker/lab/rpi.Dockerfile b/docker/lab/rpi.Dockerfile index f3236b30c..da5a8aaac 100644 --- a/docker/lab/rpi.Dockerfile +++ b/docker/lab/rpi.Dockerfile @@ -40,6 +40,8 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ 108F52B48DB57BB0CC439B2997B01419BD92F80A \ B9E2F5981AA6E0CD28160D9FF13993A75599653C \ ; do \ + gpg --batch --keyserver hkp://keyring.debian.org:80 --recv-keys "$key" || \ + gpg --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "$key" || \ gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || \ gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \ gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \ @@ -73,6 +75,8 @@ RUN set -ex \ && for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ + gpg --batch --keyserver hkp://keyring.debian.org:80 --recv-keys "$key" || \ + gpg --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "$key" || \ gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || \ gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \ gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \ diff --git a/docker/machine/rpi.Dockerfile b/docker/machine/rpi.Dockerfile index c38a3f358..5a4d024ac 100644 --- a/docker/machine/rpi.Dockerfile +++ b/docker/machine/rpi.Dockerfile @@ -29,6 +29,8 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \ 108F52B48DB57BB0CC439B2997B01419BD92F80A \ B9E2F5981AA6E0CD28160D9FF13993A75599653C \ ; do \ + gpg --batch --keyserver hkp://keyring.debian.org:80 --recv-keys "$key" || \ + gpg --batch --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "$key" || \ gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" || \ gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys "$key" || \ gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \