mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
Pushes the scripting logic into a standalone script and adds tests for the applications which by side-effect also test the invoke and query functions on the chaincode. Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
15 lines
634 B
Bash
Executable file
15 lines
634 B
Bash
Executable file
#!/bin/bash -e
|
|
set -euo pipefail
|
|
|
|
FABRIC_VERSION=${FABRIC_VERSION:-2.2}
|
|
STABLE_TAG=amd64-${FABRIC_VERSION}-stable
|
|
|
|
for image in baseos peer orderer ca tools orderer ccenv javaenv nodeenv tools; do
|
|
docker pull -q "hyperledger-fabric.jfrog.io/fabric-${image}:${STABLE_TAG}"
|
|
docker tag "hyperledger-fabric.jfrog.io/fabric-${image}:${STABLE_TAG}" hyperledger/fabric-${image}
|
|
docker tag "hyperledger-fabric.jfrog.io/fabric-${image}:${STABLE_TAG}" "hyperledger/fabric-${image}:${FABRIC_VERSION}"
|
|
docker rmi -f "hyperledger-fabric.jfrog.io/fabric-${image}:${STABLE_TAG}"
|
|
done
|
|
|
|
docker pull -q couchdb:3.1
|
|
docker images | grep hyperledger
|