Skip to content

Commit c817a73

Browse files
committed
fix checksum
1 parent f4c662b commit c817a73

File tree

2 files changed

+94
-94
lines changed

2 files changed

+94
-94
lines changed

Dash/18.1.0/linuxamd64.Dockerfile

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
FROM debian:stretch-slim as builder
2-
3-
RUN set -ex \
4-
&& apt-get update \
5-
&& apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu gpg wget
6-
7-
ENV DASH_VERSION 18.1.0
8-
ENV DASH_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/dashcore-${DASH_VERSION}-x86_64-linux-gnu.tar.gz
9-
ENV DASH_SHA256 c1fea7a83bbef34a358112f2a980ca4eb213aaea2f82486c6460100b2f22e317
10-
ENV DASH_ASC_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/SHA256SUMS.asc
11-
ENV DASH_PGP_KEY 52527BEDABE87984
12-
13-
# install dash binaries
14-
RUN set -ex \
15-
&& cd /tmp \
16-
&& wget -qO dash.tar.gz "$DASH_URL" \
17-
&& echo "$DASH_SHA256 dash.tar.gz" | sha256sum -c - \
18-
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$DASH_PGP_KEY" \
19-
&& wget -qO dash.asc "$DASH_ASC_URL" \
20-
&& gpg --verify dash.asc \
21-
&& mkdir bin \
22-
&& tar -xzvf dash.tar.gz -C /tmp/bin --strip-components=2 "dashcore-$DASH_VERSION/bin/dash-cli" "dashcore-$DASH_VERSION/bin/dashd" \
23-
&& cd bin \
24-
&& wget -qO gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-amd64" \
25-
&& echo "0b843df6d86e270c5b0f5cbd3c326a04e18f4b7f9b8457fa497b0454c4b138d7 gosu" | sha256sum -c -
26-
27-
FROM debian:stretch-slim
28-
COPY --from=builder "/tmp/bin" /usr/local/bin
29-
30-
RUN chmod +x /usr/local/bin/gosu && groupadd -r bitcoin && useradd -r -m -g bitcoin bitcoin
31-
32-
# create data directory
33-
ENV BITCOIN_DATA /data
34-
RUN mkdir "$BITCOIN_DATA" \
35-
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
36-
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.dashcore \
37-
&& chown -h bitcoin:bitcoin /home/bitcoin/.dashcore
38-
39-
VOLUME /data
40-
41-
COPY docker-entrypoint.sh /entrypoint.sh
42-
ENTRYPOINT ["/entrypoint.sh"]
43-
44-
EXPOSE 9998 9999 19998 19999
45-
CMD ["dashd"]
1+
FROM debian:stretch-slim as builder
2+
3+
RUN set -ex \
4+
&& apt-get update \
5+
&& apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu gpg wget
6+
7+
ENV DASH_VERSION 18.1.0
8+
ENV DASH_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/dashcore-${DASH_VERSION}-x86_64-linux-gnu.tar.gz
9+
ENV DASH_SHA256 d89c2afd78183f3ee815adcccdff02098be0c982633889e7b1e9c9656fbef219
10+
ENV DASH_ASC_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/SHA256SUMS.asc
11+
ENV DASH_PGP_KEY 52527BEDABE87984
12+
13+
# install dash binaries
14+
RUN set -ex \
15+
&& cd /tmp \
16+
&& wget -qO dash.tar.gz "$DASH_URL" \
17+
&& echo "$DASH_SHA256 dash.tar.gz" | sha256sum -c - \
18+
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$DASH_PGP_KEY" \
19+
&& wget -qO dash.asc "$DASH_ASC_URL" \
20+
&& gpg --verify dash.asc \
21+
&& mkdir bin \
22+
&& tar -xzvf dash.tar.gz -C /tmp/bin --strip-components=2 "dashcore-$DASH_VERSION/bin/dash-cli" "dashcore-$DASH_VERSION/bin/dashd" \
23+
&& cd bin \
24+
&& wget -qO gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-amd64" \
25+
&& echo "0b843df6d86e270c5b0f5cbd3c326a04e18f4b7f9b8457fa497b0454c4b138d7 gosu" | sha256sum -c -
26+
27+
FROM debian:stretch-slim
28+
COPY --from=builder "/tmp/bin" /usr/local/bin
29+
30+
RUN chmod +x /usr/local/bin/gosu && groupadd -r bitcoin && useradd -r -m -g bitcoin bitcoin
31+
32+
# create data directory
33+
ENV BITCOIN_DATA /data
34+
RUN mkdir "$BITCOIN_DATA" \
35+
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
36+
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.dashcore \
37+
&& chown -h bitcoin:bitcoin /home/bitcoin/.dashcore
38+
39+
VOLUME /data
40+
41+
COPY docker-entrypoint.sh /entrypoint.sh
42+
ENTRYPOINT ["/entrypoint.sh"]
43+
44+
EXPOSE 9998 9999 19998 19999
45+
CMD ["dashd"]
Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
# Use manifest image which support all architecture
2-
FROM debian:stretch-slim as builder
3-
4-
RUN set -ex \
5-
&& apt-get update \
6-
&& apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu gpg wget
7-
8-
ENV DASH_VERSION 18.1.0
9-
ENV DASH_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/dashcore-${DASH_VERSION}-aarch64-linux-gnu.tar.gz
10-
ENV DASH_SHA256 3ad6125a67cb76d195c9bae778e5a717e98436b98951a819411671d05aadc2ce
11-
ENV DASH_ASC_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/SHA256SUMS.asc
12-
ENV DASH_PGP_KEY 52527BEDABE87984
13-
14-
# install dash binaries
15-
RUN set -ex \
16-
&& cd /tmp \
17-
&& wget -qO dash.tar.gz "$DASH_URL" \
18-
&& echo "$DASH_SHA256 dash.tar.gz" | sha256sum -c - \
19-
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$DASH_PGP_KEY" \
20-
&& wget -qO dash.asc "$DASH_ASC_URL" \
21-
&& gpg --verify dash.asc \
22-
&& mkdir bin \
23-
&& tar -xzvf dash.tar.gz -C /tmp/bin --strip-components=2 "dashcore-$DASH_VERSION/bin/dash-cli" "dashcore-$DASH_VERSION/bin/dashd" \
24-
&& cd bin \
25-
&& wget -qO gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-arm64" \
26-
&& echo "5e279972a1c7adee65e3b5661788e8706594b458b7ce318fecbd392492cc4dbd gosu" | sha256sum -c -
27-
28-
# Making sure the builder build an arm image despite being x64
29-
FROM arm64v8/debian:stretch-slim
30-
31-
COPY --from=builder "/tmp/bin" /usr/local/bin
32-
#EnableQEMU COPY qemu-aarch64-static /usr/bin
33-
34-
RUN chmod +x /usr/local/bin/gosu && groupadd -r bitcoin && useradd -r -m -g bitcoin bitcoin
35-
36-
# create data directory
37-
ENV BITCOIN_DATA /data
38-
RUN mkdir "$BITCOIN_DATA" \
39-
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
40-
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.dashcore \
41-
&& chown -h bitcoin:bitcoin /home/bitcoin/.dashcore
42-
43-
VOLUME /data
44-
45-
COPY docker-entrypoint.sh /entrypoint.sh
46-
ENTRYPOINT ["/entrypoint.sh"]
47-
48-
EXPOSE 9998 9999 19998 19999
49-
CMD ["dashd"]
1+
# Use manifest image which support all architecture
2+
FROM debian:stretch-slim as builder
3+
4+
RUN set -ex \
5+
&& apt-get update \
6+
&& apt-get install -qq --no-install-recommends ca-certificates dirmngr gosu gpg wget
7+
8+
ENV DASH_VERSION 18.1.0
9+
ENV DASH_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/dashcore-${DASH_VERSION}-aarch64-linux-gnu.tar.gz
10+
ENV DASH_SHA256 6bd0bba4aef957abccdae83bb0d94e3f6ce809862f417cf94cd52e5131463bca
11+
ENV DASH_ASC_URL https://github.com/dashpay/dash/releases/download/v${DASH_VERSION}/SHA256SUMS.asc
12+
ENV DASH_PGP_KEY 52527BEDABE87984
13+
14+
# install dash binaries
15+
RUN set -ex \
16+
&& cd /tmp \
17+
&& wget -qO dash.tar.gz "$DASH_URL" \
18+
&& echo "$DASH_SHA256 dash.tar.gz" | sha256sum -c - \
19+
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$DASH_PGP_KEY" \
20+
&& wget -qO dash.asc "$DASH_ASC_URL" \
21+
&& gpg --verify dash.asc \
22+
&& mkdir bin \
23+
&& tar -xzvf dash.tar.gz -C /tmp/bin --strip-components=2 "dashcore-$DASH_VERSION/bin/dash-cli" "dashcore-$DASH_VERSION/bin/dashd" \
24+
&& cd bin \
25+
&& wget -qO gosu "https://github.com/tianon/gosu/releases/download/1.11/gosu-arm64" \
26+
&& echo "5e279972a1c7adee65e3b5661788e8706594b458b7ce318fecbd392492cc4dbd gosu" | sha256sum -c -
27+
28+
# Making sure the builder build an arm image despite being x64
29+
FROM arm64v8/debian:stretch-slim
30+
31+
COPY --from=builder "/tmp/bin" /usr/local/bin
32+
#EnableQEMU COPY qemu-aarch64-static /usr/bin
33+
34+
RUN chmod +x /usr/local/bin/gosu && groupadd -r bitcoin && useradd -r -m -g bitcoin bitcoin
35+
36+
# create data directory
37+
ENV BITCOIN_DATA /data
38+
RUN mkdir "$BITCOIN_DATA" \
39+
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
40+
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.dashcore \
41+
&& chown -h bitcoin:bitcoin /home/bitcoin/.dashcore
42+
43+
VOLUME /data
44+
45+
COPY docker-entrypoint.sh /entrypoint.sh
46+
ENTRYPOINT ["/entrypoint.sh"]
47+
48+
EXPOSE 9998 9999 19998 19999
49+
CMD ["dashd"]

0 commit comments

Comments
 (0)