Skip to content

Commit

Permalink
Add docker-compose for v0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobaiao committed Feb 6, 2024
1 parent 3433ecd commit 786d221
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 0.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ ENV BITCOIN_GOLD_FOLDER_VERSION=0.17.3
ENV BITCOIN_GOLD_PREFIX=/opt/bitcoin-gold-${BITCOIN_GOLD_FOLDER_VERSION}
ENV BITCOIN_GOLD_DATA=/home/bitcoingold/.bitcoingold
ENV PATH=${BITCOIN_GOLD_PREFIX}/bin:$PATH
RUN curl -SLO https://github.com/BTCGPU/BTCGPU/releases/download/v${BITCOIN_GOLD_VERSION}/bitcoin-gold-${BITCOIN_GOLD_FOLDER_VERSION}-x86_64-linux-gnu.tar.gz \
RUN curl -SLO https://github.com/BTCGPU/BTCGPU/releases/download/v${BITCOIN_GOLD_VERSION}/bitcoin-gold-${BITCOIN_GOLD_FOLDER_VERSION}-aarch64-linux-gnu.tar.gz \
&& curl -SLO https://github.com/BTCGPU/BTCGPU/releases/download/v${BITCOIN_GOLD_VERSION}/SHA256SUMS.asc \
&& gpg --verify SHA256SUMS.asc \
&& grep " bitcoin-gold-${BITCOIN_GOLD_FOLDER_VERSION}-x86_64-linux-gnu.tar.gz\$" SHA256SUMS.asc | sha256sum -c - \
&& grep " bitcoin-gold-${BITCOIN_GOLD_FOLDER_VERSION}-aarch64-linux-gnu.tar.gz\$" SHA256SUMS.asc | sha256sum -c - \
&& tar -xzf *.tar.gz -C /opt \
&& rm *.tar.gz

Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
bgoldd:
build: "0.17"
command:
-regtest
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcpassword=foobar
-rpcuser=bitcoingoldrpc
ports:
- 18443:18443

0 comments on commit 786d221

Please sign in to comment.