github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/bddtests/regression/go/ote/docker_images.sh (about)

     1  #!/bin/bash
     2  # Clone fabric git repository
     3  #############################
     4  echo "Fabric Images"
     5  cd $GOPATH/src/github.com/hyperledger/fabric
     6  #FABRIC_COMMIT=$(git log -1 --pretty=format:"%h")
     7  make docker && make native
     8  
     9  # Clone fabric-ca git repository
    10  ################################
    11  echo "Ca Images"
    12  CA_REPO_NAME=fabric-ca
    13  cd  $GOPATH/src/github.com/hyperledger/
    14  if [ ! -d "$CA_REPO_NAME" ]; then
    15  git clone --depth=1 https://github.com/hyperledger/$CA_REPO_NAME.git
    16  #CA_COMMIT=$(git log -1 --pretty=format:"%h")
    17  fi
    18  cd $CA_REPO_NAME
    19  make docker
    20  echo "List of all Images"
    21  docker images | grep hyperledger