homebridge-docker
homebridge-docker copied to clipboard
gpg: no valid OpenPGP data found.
Any idea why this might be happening?
Step 11 : RUN wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -
---> Running in ded7b13b046b
gpg: no valid OpenPGP data found.
The command '/bin/sh -c wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -' returned a non-zero code: 2
I can run this
wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -
on the host and do not get a problem...
same for me, any solution?
yes. The docker image had no network. It was something along sysctl forwarding enable.... I don't really recall.
http://stackoverflow.com/questions/20909111/adding-gpg-key-inside-docker-container-causes-no-valid-openpgp-data-found
installing ca-certificates or adding --no-check-certificate to wget