fabric-samples/fabric-ca/bootstrap.sh
Keith Smith 75e293183b [FAB-10811] fabric-ca sample is broken on v1.2
The Profile section of configtx.yaml must now be at the end of the file,
so the building of this file dynamically must be updated.
I also updated the version of the fabric CA in bootstrap.sh to 1.2.0.

Change-Id: Ifabccebc901f74569cfa1fe1d824fbcd26c4ffd1
Signed-off-by: Keith Smith <bksmith@us.ibm.com>
Signed-off-by: Christopher Ferris <chrisfer@us.ibm.com>
2018-06-22 10:40:33 -04:00

24 lines
593 B
Bash
Executable file

#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# current version of fabric-ca released
export CA_TAG=${1:-1.2.0}
dockerCaPull() {
echo "==> FABRIC CA IMAGE"
echo
for image in "" "-tools" "-orderer" "-peer"; do
docker pull hyperledger/fabric-ca${image}:$CA_TAG
docker tag hyperledger/fabric-ca${image}:$CA_TAG hyperledger/fabric-ca${image}
done
}
echo "===> Pulling fabric ca Image"
dockerCaPull ${CA_TAG}
echo "===> List out hyperledger docker images"
docker images | grep hyperledger/fabric-ca