Skip to content

Commit

Permalink
Merge "FAB-12106 Update fabric-ca build scripts"
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Smith authored and Gerrit Code Review committed Sep 24, 2018
2 parents 9f80e47 + eece3d8 commit 6935679
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fabric-ca/makeDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ export FABRIC_TAG=${FABRIC_TAG:-1.2.0}

export FABRIC_CA_TAG=${FABRIC_CA_TAG:-${FABRIC_TAG}}
export NS=${NS:-hyperledger}

export ARCH="linux-amd64" # Docker images run on linux
CA_BINARY_FILE=hyperledger-fabric-ca-${ARCH}-${FABRIC_CA_TAG}.tar.gz
URL=https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/${ARCH}-${FABRIC_CA_TAG}/${CA_BINARY_FILE}
export MARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}')
CA_BINARY_FILE=hyperledger-fabric-ca-${MARCH}-${FABRIC_CA_TAG}.tar.gz
URL=https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/${MARCH}-${FABRIC_CA_TAG}/${CA_BINARY_FILE}

SDIR=$(dirname "$0")
source $SDIR/scripts/env.sh
Expand Down

0 comments on commit 6935679

Please sign in to comment.