这是我的dockerfile
FROM ubuntu:rolling
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install software-properties-common && \
add-apt-repository -y ppa:bitcoin/bitcoin && \
apt-get -y update && \
apt-get -y install bitcoin-qt
我运行docker build -t test .
因为以下原因导致失败:
(输出是在我定义单独的RUN步骤时,所以我可以很容易地定义它出错的地方。)
Step 5/11 : RUN add-apt-repository -y ppa:bitcoin/bitcoin
---> Running in fc64322d6d04
gpg: keybox '/tmp/tmpxbk1iw0_/pubring.gpg' created
gpg: keyserver receive failed: End of file
Failed to add key.
The command '/bin/sh -c add-apt-repository -y ppa:bitcoin/bitcoin' returned a non-zero code: 1
我错过了什么?我不是代理人。