Skip to content

Commit 2da9cc9

Browse files
authored
Merge pull request #117 from guggero/0.21.1
Update to 0.21.1, use faster bitcoincore.org mirror
2 parents 2f03f71 + 758850c commit 2da9cc9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

0.21/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN useradd -r bitcoin \
1111
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1212

1313
ARG TARGETPLATFORM
14-
ENV BITCOIN_VERSION=0.21.0
14+
ENV BITCOIN_VERSION=0.21.1
1515
ENV BITCOIN_DATA=/home/bitcoin/.bitcoin
1616
ENV PATH=/opt/bitcoin-${BITCOIN_VERSION}/bin:$PATH
1717

@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ RUN set -ex \
5151
gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" ; \
5252
done
5353

54-
ENV BITCOIN_VERSION=0.21.0
54+
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
@@ -102,7 +102,7 @@ RUN apk --no-cache add \
102102
su-exec
103103

104104
ENV BITCOIN_DATA=/home/bitcoin/.bitcoin
105-
ENV BITCOIN_VERSION=0.21.0
105+
ENV BITCOIN_VERSION=0.21.1
106106
ENV BITCOIN_PREFIX=/opt/bitcoin-${BITCOIN_VERSION}
107107
ENV PATH=${BITCOIN_PREFIX}/bin:$PATH
108108

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ A bitcoin-core docker image with support for the following platforms:
1010

1111
## Tags
1212

13-
- `0.21.0`, `0.21`, `latest` ([0.21/Dockerfile](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.21/Dockerfile)) [**multi-arch**]
14-
- `0.21.0-alpine`, `0.21-alpine` ([0.21/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.21/alpine/Dockerfile))
13+
- `0.21.1`, `0.21`, `latest` ([0.21/Dockerfile](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.21/Dockerfile)) [**multi-arch**]
14+
- `0.21.1-alpine`, `0.21-alpine` ([0.21/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.21/alpine/Dockerfile))
1515

1616
- `0.20.1`, `0.20` ([0.20/Dockerfile](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.20/Dockerfile)) [**multi-arch**]
1717
- `0.20.1-alpine`, `0.20-alpine` ([0.20/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.20/alpine/Dockerfile))

0 commit comments

Comments
 (0)