Skip to content

Instantly share code, notes, and snippets.

@mbwhite
Created December 8, 2022 09:11
Show Gist options
  • Save mbwhite/53edc2ad4fc5705263e8c70fb6a99564 to your computer and use it in GitHub Desktop.
Save mbwhite/53edc2ad4fc5705263e8c70fb6a99564 to your computer and use it in GitHub Desktop.
version=${FABRIC_VERSION:-2.5}
artifactory_url=hyperledger-fabric.jfrog.io
for image in peer orderer ca baseos ccenv tools; do
artifactory_image="${artifactory_url}/fabric-${image}:amd64-${version}-stable"
docker pull -q "${artifactory_image}"
docker tag "${artifactory_image}" "hyperledger/fabric-${image}"
docker rmi -f "${artifactory_image}" >/dev/null
done
docker pull -q couchdb:3.1
docker pull -q hyperledger/fabric-ca:1.5.5
docker tag hyperledger/fabric-ca:1.5.5 hyperledger/fabric-ca
docker rmi hyperledger/fabric-ca:1.5.5 >/dev/null
curl -sSL https://hyperledger.jfrog.io/artifactory/fabric-binaries/hyperledger-fabric-ca-linux-amd64-2.5-stable.tar.gz | tar -xz
curl -sSL https://hyperledger.jfrog.io/artifactory/fabric-binaries/hyperledger-fabric-linux-amd64-2.5-stable.tar.gz | tar -xz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment