Skip to content
Permalink
Browse files

fixed bsv-1.0.1 dockerfile

  • Loading branch information
duguyifang authored and SwimmingTiger committed Feb 1, 2020
1 parent f52a940 commit 1ca43aa320c4923e579f14adc580bf5ab2c027d2
Showing with 12 additions and 12 deletions.
  1. +2 −2 .circleci/config.yml
  2. +3 −3 docker/bitcoin-sv/v1.0.1/Dockerfile
  3. +7 −7 docker/bitcoin-sv/v1.0.1/README.md
@@ -139,8 +139,8 @@ workflows:
base: bch-0.18.5
- push_dep_img:
<<: *dep_img_comm
name: push_dep_img@bsv-0.2.0
base: bsv-0.2.0
name: push_dep_img@bsv-1.0.1
base: bsv-1.0.1
- push_dep_img:
<<: *dep_img_comm
name: push_dep_img@btc-0.16.3
@@ -22,9 +22,9 @@ RUN install_clean \
wget \
yasm

RUN cd /tmp && wget https://github.com/bitcoin-sv/bitcoin-sv/archive/v0.2.0.tar.gz && \
[ $(sha256sum v0.2.0.tar.gz | cut -d " " -f 1) = "a717c86f4cf8dd2bb28b3be914ca1aa38a93db3687434548e073f9eb69467043" ] && \
tar zxf v0.2.0.tar.gz && cd bitcoin-sv-0.2.0 && ./autogen.sh && ./configure --disable-wallet --disable-tests --disable-bench && \
RUN cd /tmp && wget https://github.com/bitcoin-sv/bitcoin-sv/archive/v1.0.1.tar.gz && \
[ $(sha256sum v1.0.1.tar.gz | cut -d " " -f 1) = "c803aa57f8c3a08294bedb3f7190f64660b8c9641c0c0b8ad9886e7fd8443b5f" ] && \
tar zxf v1.0.1.tar.gz && cd bitcoin-sv-1.0.1 && ./autogen.sh && ./configure --disable-wallet --disable-tests --disable-bench && \
make -j$(nproc) && make install && rm -r /tmp/*

# mkdir bitcoind data dir
@@ -1,9 +1,9 @@
Docker for Bitcoin SV v0.2.0
Docker for Bitcoin SV v1.0.1
============================

* OS: `Ubuntu 14.04 LTS`, `Ubuntu 16.04 LTS`
* Docker Image OS: `Ubuntu 16.04 LTS`
* Bitcoin SV: `v0.2.0`
* Bitcoin SV: `v1.0.1`

## Install Docker

@@ -22,14 +22,14 @@ service docker status
cd /work
git clone git@github.com:btccom/btcpool.git
cd btcpool/docker/bitcoin-sv/v0.2.0
cd btcpool/docker/bitcoin-sv/v1.0.1
# If your server is in China, please check "Dockerfile" and uncomment some lines.
# If you want to enable testnet, please uncomment several lines behind `# service for testnet`
# build
docker build -t bitcoin-sv:0.2.0 .
# docker build --no-cache -t bitcoin-sv:0.2.0 .
docker build -t bitcoin-sv:1.0.1 .
# docker build --no-cache -t bitcoin-sv:1.0.1 .
# mkdir for bitcoin-sv
mkdir -p /work/bitcoin-sv
@@ -63,8 +63,8 @@ blockmaxsize=8000000

```
# start docker
docker run -it -v /work/bitcoin-sv:/root/.bitcoin --name bitcoin-sv -p 8333:8333 -p 8332:8332 -p 8331:8331 --restart always -d bitcoin-sv:0.2.0
#docker run -it -v /work/bitcoin-sv:/root/.bitcoin --name bitcoin-sv -p 8333:8333 -p 8332:8332 -p 8331:8331 -p 18333:18333 -p 18332:18332 -p 18331:18331 --restart always -d bitcoin-sv:0.2.0
docker run -it -v /work/bitcoin-sv:/root/.bitcoin --name bitcoin-sv -p 8333:8333 -p 8332:8332 -p 8331:8331 --restart always -d bitcoin-sv:1.0.1
#docker run -it -v /work/bitcoin-sv:/root/.bitcoin --name bitcoin-sv -p 8333:8333 -p 8332:8332 -p 8331:8331 -p 18333:18333 -p 18332:18332 -p 18331:18331 --restart always -d bitcoin-sv:1.0.1
# login
docker exec -it bitcoin-sv /bin/bash

0 comments on commit 1ca43aa

Please sign in to comment.
You can’t perform that action at this time.