Skip to content

Commit e176cf9

Browse files
committed
[FAB-3925] - Fix Bootstrap script
Remove duplicate listing of docker images Rebase on top of Arnaud's window fix Point to release folder now Bash script was pointing to an empty directory Need reviews ASAP! Good on mac; need linux and windows test [ci-skip] Change-Id: I64a8e774708f27116cf68ee47d12c3b02a50b646 Signed-off-by: Nick Gaski <[email protected]>
1 parent e3e26ce commit e176cf9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/e2e_cli/bootstrap.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
#!/bin/bash
22

3-
export ARCH=$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(go env GOARCH)
3+
export ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | sed 's/x86_64/amd64/g')" | awk '{print tolower($0)}')
44

5-
curl https://nexus.hyperledger.org/content/repositories/logs/sandbox/fabric-binary/${ARCH}-1.0.0-alpha2.tar.gz | tar xz
5+
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/fabric-binary/${ARCH}-1.0.0-alpha2/fabric-binary-${ARCH}-1.0.0-alpha2.tar.gz | tar xz
66
cd release/${ARCH}
77
sh download-dockerimages.sh -c $(uname -m)-1.0.0-alpha2 -f $(uname -m)-1.0.0-alpha2
8-
docker images
9-
10-

0 commit comments

Comments
 (0)