Commit 3d773e5a authored by Waleed El Sayed's avatar Waleed El Sayed

improvements

parent 705305cf
......@@ -3,3 +3,5 @@ channel.tx
genesis.block
Org1MSPanchors.tx
Org2MSPanchors.tx
bin
.DS_Store
#!/bin/bash -eu
# Copyright London Stock Exchange Group All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# This script pulls docker images from the Dockerhub hyperledger repositories
# set the default Docker namespace and tag
DOCKER_NS=hyperledger
ARCH=amd64
VERSION=1.3.0
BASE_DOCKER_TAG=amd64-0.4.13
# set of Hyperledger Fabric images
FABRIC_IMAGES=(fabric-peer fabric-orderer fabric-ccenv fabric-tools)
for image in ${FABRIC_IMAGES[@]}; do
echo "Pulling ${DOCKER_NS}/$image:${ARCH}-${VERSION}"
docker pull ${DOCKER_NS}/$image:${ARCH}-${VERSION}
done
THIRDPARTY_IMAGES=(fabric-kafka fabric-zookeeper fabric-couchdb fabric-baseos)
for image in ${THIRDPARTY_IMAGES[@]}; do
echo "Pulling ${DOCKER_NS}/$image:${BASE_DOCKER_TAG}"
docker pull ${DOCKER_NS}/$image:${BASE_DOCKER_TAG}
done
File deleted
......@@ -6,9 +6,14 @@ CHANNEL_NAME="mychannel"
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker network rm $(docker network ls -q)
docker volume rm $(docker volume ls -q)
# remove generated files / configs
rm -rf crypto-config channel.tx genesis.block Org1MSPanchors.tx Org2MSPanchors.tx
rm -rf bin crypto-config channel.tx genesis.block Org1MSPanchors.tx Org2MSPanchors.tx
# get binaries and images for version 1.3.0
curl -sSL http://bit.ly/2ysbOFE | bash -s 1.3.0
# Generates Org certs using cryptogen tool
cryptogen generate --config=./crypto-config.yaml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment