mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
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>
(cherry picked from commit 75e293183b)
24 lines
593 B
Bash
Executable file
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
|