diff --git a/hyperledger/1.0/README.md b/hyperledger/1.0/README.md index 9317d482..d11663a1 100644 --- a/hyperledger/1.0/README.md +++ b/hyperledger/1.0/README.md @@ -25,17 +25,18 @@ Pull necessary images of peer, orderer, ca, and base image. $ ARCH=x86_64 $ BASE_VERSION=1.0.0-preview $ PROJECT_VERSION=1.0.0-preview -$ docker pull yeasy/hyperledger-fabric-base:0.8.2 \ - && docker pull yeasy/hyperledger-fabric-peer:0.8.2 \ - && docker pull yeasy/hyperledger-fabric-orderer:0.8.2 \ - && docker pull yeasy/hyperledger-fabric-ca:0.8.2 \ +$ IMG_VERSION=0.8.3 +$ docker pull yeasy/hyperledger-fabric-base:$IMG_VERSION \ + && docker pull yeasy/hyperledger-fabric-peer:$IMG_VERSION \ + && docker pull yeasy/hyperledger-fabric-orderer:$IMG_VERSION \ + && docker pull yeasy/hyperledger-fabric-ca:$IMG_VERSION \ && docker pull yeasy/blockchain-explorer:latest \ - && docker tag yeasy/hyperledger-fabric-peer:0.8.2 hyperledger/fabric-peer \ - && docker tag yeasy/hyperledger-fabric-orderer:0.8.2 hyperledger/fabric-orderer \ - && docker tag yeasy/hyperledger-fabric-ca:0.8.2 hyperledger/fabric-ca \ - && docker tag yeasy/hyperledger-fabric-base:0.8.2 hyperledger/fabric-baseimage \ - && docker tag yeasy/hyperledger-fabric-base:0.8.2 hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \ - && docker tag yeasy/hyperledger-fabric-base:0.8.2 hyperledger/fabric-bareos:$ARCH-$BASE_VERSION + && docker tag yeasy/hyperledger-fabric-peer:$IMG_VERSION hyperledger/fabric-peer \ + && docker tag yeasy/hyperledger-fabric-orderer:$IMG_VERSION hyperledger/fabric-orderer \ + && docker tag yeasy/hyperledger-fabric-ca:$IMG_VERSION hyperledger/fabric-ca \ + && docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseimage \ + && docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \ + && docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseos:$ARCH-$BASE_VERSION ``` There are also some community [images](https://hub.docker.com/r/hyperledger/) at Dockerhub, use at your own choice. diff --git a/hyperledger/1.0/setup_fabric_1.0.sh b/hyperledger/1.0/setup_fabric_1.0.sh index 73cbe708..a4c27bb5 100644 --- a/hyperledger/1.0/setup_fabric_1.0.sh +++ b/hyperledger/1.0/setup_fabric_1.0.sh @@ -19,19 +19,19 @@ curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose chmod +x /usr/local/bin/docker-compose docker-compose --version -ARCH=x86_64 -BASE_VERSION=1.0.0-preview -PROJECT_VERSION=1.0.0-preview -docker pull yeasy/hyperledger-fabric-base:0.8.2 \ - && docker pull yeasy/hyperledger-fabric-peer:0.8.2 \ - && docker pull yeasy/hyperledger-fabric-orderer:0.8.2 \ - && docker pull yeasy/hyperledger-fabric-ca:0.8.2 \ +$ ARCH=x86_64 +$ BASE_VERSION=1.0.0-preview +$ PROJECT_VERSION=1.0.0-preview +$ IMG_VERSION=0.8.3 +$ docker pull yeasy/hyperledger-fabric-base:$IMG_VERSION \ + && docker pull yeasy/hyperledger-fabric-peer:$IMG_VERSION \ + && docker pull yeasy/hyperledger-fabric-orderer:$IMG_VERSION \ + && docker pull yeasy/hyperledger-fabric-ca:$IMG_VERSION \ && docker pull yeasy/blockchain-explorer:latest \ - && docker tag yeasy/hyperledger-fabric-peer:0.8.2 hyperledger/fabric-peer \ - && docker tag yeasy/hyperledger-fabric-orderer:0.8.2 hyperledger/fabric-orderer \ - && docker tag yeasy/hyperledger-fabric-ca:0.8.2 hyperledger/fabric-ca \ - && docker tag yeasy/hyperledger-fabric-base:0.8.2 hyperledger/fabric-baseimage \ - && docker tag yeasy/hyperledger-fabric-base:0.8.2 hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \ - && docker tag yeasy/hyperledger-fabric-base:0.8.2 hyperledger/fabric-bareos:$ARCH-$BASE_VERSION - + && docker tag yeasy/hyperledger-fabric-peer:$IMG_VERSION hyperledger/fabric-peer \ + && docker tag yeasy/hyperledger-fabric-orderer:$IMG_VERSION hyperledger/fabric-orderer \ + && docker tag yeasy/hyperledger-fabric-ca:$IMG_VERSION hyperledger/fabric-ca \ + && docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseimage \ + && docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-ccenv:$ARCH-$BASE_VERSION \ + && docker tag yeasy/hyperledger-fabric-base:$IMG_VERSION hyperledger/fabric-baseos:$ARCH-$BASE_VERSION docker-compose up