Skip to content

Commit 758850c

Browse files
committed
0.21: use faster bitcoincore.org mirror
1 parent accd8c6 commit 758850c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

0.21/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN set -ex \
2828
gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \
2929
gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" ; \
3030
done \
31-
&& curl -SLO https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-${TARGETPLATFORM}.tar.gz \
32-
&& curl -SLO https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc \
31+
&& curl -SLO https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-${TARGETPLATFORM}.tar.gz \
32+
&& curl -SLO https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc \
3333
&& gpg --verify SHA256SUMS.asc \
3434
&& grep " bitcoin-${BITCOIN_VERSION}-${TARGETPLATFORM}.tar.gz" SHA256SUMS.asc | sha256sum -c - \
3535
&& tar -xzf *.tar.gz -C /opt \

0.21/alpine/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ RUN set -ex \
5454
ENV BITCOIN_VERSION=0.21.1
5555
ENV BITCOIN_PREFIX=/opt/bitcoin-${BITCOIN_VERSION}
5656

57-
RUN wget https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc
58-
RUN wget https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}.tar.gz
57+
RUN wget https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc
58+
RUN wget https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}.tar.gz
5959
RUN gpg --verify SHA256SUMS.asc
6060
RUN grep " bitcoin-${BITCOIN_VERSION}.tar.gz\$" SHA256SUMS.asc | sha256sum -c -
6161
RUN tar -xzf *.tar.gz

0 commit comments

Comments
 (0)