Skip to content

Commit

Permalink
Merge "[FAB-3056] Pull relevant docker images"
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaskins authored and Gerrit Code Review committed Apr 28, 2017
2 parents f825608 + 1f0a0cb commit ecc29dd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/e2e_cli/download-dockerimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# hyperledger/fabric-<image> latest tag
##################################################

#Set ARCH variable i.e ppc64le,s390x,x86_64,i386
ARCH=`uname -m`

dockerFabricPull() {
local FABRIC_TAG=$1
for IMAGES in peer orderer couchdb ccenv javaenv kafka zookeeper; do
Expand Down Expand Up @@ -59,8 +62,8 @@ while getopts "\?hc:f:" opt; do
esac
done

: ${CA_TAG:="x86_64-1.0.0-alpha"}
: ${FABRIC_TAG:="x86_64-1.0.0-alpha"}
: ${CA_TAG:="$ARCH-1.0.0-alpha"}
: ${FABRIC_TAG:="$ARCH-1.0.0-alpha"}

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

0 comments on commit ecc29dd

Please sign in to comment.