docker-php-5.3-apache
docker-php-5.3-apache copied to clipboard
This will not work
The command '/bin/sh -c gpg --keyserver pgp.mit.edu --recv-keys 0B96609E270F565C13292B24C13C70B87267B52D 0A95E9A026542D53835E3F3A7DEC4E69FC9C83D7' returned a non-zero code: 2 this is error shows
remove the lines from 18 to 24 (that downloads gpg keys) line 32 and 53 of Dockerfile (that verifies packages signature) to make it work
I know your question is a bit too old but for me, the following code worked out:
gpg --keyserver hkp://ha.pool.sks-keyservers.net:80/ \ --keyserver-options "http-proxy=$http-proxy" \ --recv-keys "$key"; \