Compare commits

..

2 Commits

Author SHA1 Message Date
f8cf81c6f2 Make entrypoint script executable
Some checks failed
Build / build (push) Failing after 3m32s
2024-09-15 18:15:25 -04:00
7da95550a2 Added trusted keys and restored checkusm verification
Some checks failed
Build / build (push) Failing after 1m56s
2024-09-15 17:40:26 -04:00

View File

@@ -38,6 +38,8 @@ RUN set -ex \
3EB0DEE6004A13BE5A0CC758BF2978B068054311 \
287AE4CA1187C68C08B49CB2D11BD4F33F1DB499 \
F4FC70F07310028424EFC20A8E4256593F177720 \
6B002C6EA3F91B1B0DF0C9BC8F617F1200A6D25C \
4D1B3D5ECBA1A7E05371EEBE46800E30FC748A66 \
; do \
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" || \
gpg --batch --keyserver keys.openpgp.org --recv-keys "$key" || \
@@ -49,12 +51,14 @@ RUN set -ex \
&& curl -SLO https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-${TARGETPLATFORM}.tar.gz \
&& curl -SLO https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS \
&& curl -SLO https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/SHA256SUMS.asc \
&& gpg --verify SHA256SUMS.asc SHA256SUMS \
&& grep " bitcoin-${BITCOIN_VERSION}-${TARGETPLATFORM}.tar.gz" SHA256SUMS | sha256sum -c - \
&& tar -xzf *.tar.gz -C /opt \
&& rm *.tar.gz *.asc \
&& rm -rf /opt/bitcoin-${BITCOIN_VERSION}/bin/bitcoin-qt
COPY docker-entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
VOLUME ["/home/bitcoin/.bitcoin"]