File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,9 @@ RUN apk --no-cache add autoconf
3232RUN apk --no-cache add automake
3333RUN apk --no-cache add boost-dev
3434RUN apk --no-cache add build-base
35+ RUN apk --no-cache add ca-certificates
3536RUN apk --no-cache add chrpath
37+ RUN apk --no-cache add curl
3638RUN apk --no-cache add file
3739RUN apk --no-cache add gnupg
3840RUN apk --no-cache add libevent-dev
@@ -53,11 +55,15 @@ RUN set -ex \
5355 gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" ; \
5456 done
5557
58+ # Workaround for Let's Encrypt DST Root CA X3 expiration.
59+ RUN sed -i 's#mozilla\/ DST_Root_CA_X3.crt#!mozilla\/ DST_Root_CA_X3.crt#g' /etc/ca-certificates.conf
60+ RUN update-ca-certificates
61+
5662ENV BITCOIN_VERSION=0.11.2
5763ENV BITCOIN_PREFIX=/opt/bitcoin-${BITCOIN_VERSION}
5864
59- RUN wget https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc
60- RUN wget https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}.tar.gz
65+ RUN curl -O https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc
66+ RUN curl -O https://bitcoin.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}.tar.gz
6167RUN gpg --verify SHA256SUMS.asc
6268RUN grep " bitcoin-${BITCOIN_VERSION}.tar.gz\$ " SHA256SUMS.asc | sha256sum -c -
6369RUN tar -xzf *.tar.gz
You can’t perform that action at this time.
0 commit comments