Skip to content

Commit

Permalink
FAB-5230: update bootstrap script
Browse files Browse the repository at this point in the history
Add tools image name to the list of docker images and
update curl command to pick the correct fabric-binaries

Change-Id: I5e520f27edc4ce1c64dcb771e9dc5dc04b735843
Signed-off-by: rameshthoomu <[email protected]>
  • Loading branch information
rameshthoomu committed Jul 10, 2017
1 parent 4709b33 commit 01ae6d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bootstrap-1.0.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MARCH=`uname -m`

dockerFabricPull() {
local FABRIC_TAG=$1
for IMAGES in peer orderer couchdb ccenv javaenv kafka zookeeper; do
for IMAGES in peer orderer couchdb ccenv javaenv kafka zookeeper tools; do
echo "==> FABRIC IMAGE: $IMAGES"
echo
docker pull hyperledger/fabric-$IMAGES:$FABRIC_TAG
Expand All @@ -32,7 +32,7 @@ dockerCaPull() {
: ${FABRIC_TAG:="$MARCH-$VERSION"}

echo "===> Downloading platform binaries"
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/fabric-binary/${ARCH}-${VERSION}/fabric-binary-${ARCH}-${VERSION}.tar.gz | tar xz
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/${ARCH}-${VERSION}/hyperledger-fabric-${ARCH}-${VERSION}.tar.gz | tar xz

echo "===> Pulling fabric Images"
dockerFabricPull ${FABRIC_TAG}
Expand Down

0 comments on commit 01ae6d1

Please sign in to comment.